Parent Directory
|
Revision Log
|
Revision Graph
obsolete duplicates
| 1 | utke | 1.1 | #extract CPP directives with continuation lines from the input. |
| 2 | BEGIN { ppContd = 0} | ||
| 3 | /^# *ifdef .*\\$/ || /^# *ifndef .*\\$/ || /^# *endif.*\\$/ || /^# *if .*\\$/ || /^# *else.*\\$/ || /^# *define.*\\$/ { ppContd=1 } | ||
| 4 | !/^.*\\$/ { if (ppContd ==1) {print; ppContd=0} } | ||
| 5 | /^# *ifdef .*/ || /^# *ifndef .*/ || /^# *endif.*/ || /^# *if .*/ || /^# *else.*/ || /^# *define.*/ || /^# *include .*/ { if (ppContd != 1) {print} } | ||
| 6 | {if (ppContd == 1 ) print } | ||
| 7 | END {} |
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |