mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 03:42:22 +08:00
Initial revision
This commit is contained in:
12
bfd/awkscan
Executable file
12
bfd/awkscan
Executable file
@ -0,0 +1,12 @@
|
||||
# NOTE: BEGIN pattern gives errors if other than 1st line;
|
||||
# END ditto if other than last.
|
||||
BEGIN { print "@c ------------------------------START TEXT FROM " FILENAME }
|
||||
#
|
||||
# Keep /*doc* blocks (terminated by either */ or *-*/)
|
||||
/^\/\*doc\*/,/^\*\/|^\*-\*\//
|
||||
#
|
||||
# Also keep two kinds of /*proto blocks
|
||||
/^\/\*proto\*/,/^\*\/|^\*-\*\//
|
||||
/^\/\*proto-internal\*/,/^\*\/|^\*-\*\//
|
||||
#
|
||||
END { print "@c ------------------------------END TEXT FROM " FILENAME }
|
Reference in New Issue
Block a user