Commit | Line | Data |
---|---|---|
80d29884 SC |
1 | # SED script for preprocessing embedded headers from C source comments |
2 | # (S. Chamberlain markup) | |
3 | # beginning of many passes of cleanup work | |
4 | # | |
5 | # Delete empty comment blocks | |
6 | /^\/\*$/N | |
7 | /^\/\*\n\*\/ *$/d | |
8 | # | |
9 | # Locate and coalesce adjacent comments | |
10 | /\*\/$/N | |
11 | s/\*\/\n\/\*/\ | |
12 | / |