mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00:00
13 lines
270 B
Plaintext
Executable File
13 lines
270 B
Plaintext
Executable File
# SED script for preprocessing embedded headers from C source comments
|
|
# (S. Chamberlain markup)
|
|
# beginning of many passes of cleanup work
|
|
#
|
|
# Delete empty comment blocks
|
|
/^\/\*$/N
|
|
/^\/\*\n\*\/ *$/d
|
|
#
|
|
# Locate and coalesce adjacent comments
|
|
/\*\/$/N
|
|
s/\*\/\n\/\*/\
|
|
/
|