mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
13 lines
284 B
Plaintext
13 lines
284 B
Plaintext
|
# sed script for preprocessing BFD header files
|
||
|
# <start comment> activity:
|
||
|
/^\/\*$/{
|
||
|
N
|
||
|
# Delete empty comment blocks
|
||
|
/^\/\*\n\*\/ *$/d
|
||
|
# Transpose <start comment><blank line>
|
||
|
s/^\/\*\n *$/\
|
||
|
\/*/
|
||
|
# merge <start comment> on line by itself with following line
|
||
|
s/^\/\*\n\(.*\)/\/* \1/
|
||
|
}
|