z8kgen: temp file to generate z8k-opc.h from
[external/binutils.git] / bfd / awkscan
1 # NOTE: BEGIN pattern gives errors if other than 1st line; 
2 # END ditto if other than last.
3 BEGIN { print "@c ------------------------------START TEXT FROM " FILENAME }
4 #
5 # Keep /*doc* blocks (terminated by either */ or *-*/)
6 /^\/\*doc\*/,/^\*\/|^\*-\*\//
7 #
8 # Also keep two kinds of /*proto blocks
9 /^\/\*proto\*/,/^\*\/|^\*-\*\//
10 /^\/\*proto-internal\*/,/^\*\/|^\*-\*\//
11 #
12 END { print "@c ------------------------------END TEXT FROM " FILENAME }