diff options
author | Roland Pesch <pesch@cygnus> | 1991-08-21 21:37:39 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1991-08-21 21:37:39 +0000 |
commit | dd260c230be518ce8534466a11835bcb2a8fade9 (patch) | |
tree | 7d8687a32813e7898be45b7b5822052492876437 /bfd/awkscan-p | |
parent | 90125c859600b07fa823fa97d5805599e38d1998 (diff) | |
download | gdb-dd260c230be518ce8534466a11835bcb2a8fade9.zip gdb-dd260c230be518ce8534466a11835bcb2a8fade9.tar.gz gdb-dd260c230be518ce8534466a11835bcb2a8fade9.tar.bz2 |
Wed Aug 21 14:33:06 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in, awkscan-ip, awkscan-p, intobfd,
libbfd.h, libcoff.h, tolibcoff; new bfd-in.h, libbfd-in.h,
libcoff-in.h: (a) use separate files for invariant parts of bfd.h,
libbfd.h, and libcoff.h; (b) in generated parts of same, use less
obtrusive marks indicating .c origins.
* bfd.texinfo: generalize most references to linker
Diffstat (limited to 'bfd/awkscan-p')
-rwxr-xr-x | bfd/awkscan-p | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/awkscan-p b/bfd/awkscan-p index f7240dd..c7fe79f 100755 --- a/bfd/awkscan-p +++ b/bfd/awkscan-p @@ -1,8 +1,8 @@ -# NOTE: BEGIN pattern gives errors if other than 1st line; -# END ditto if other than last. -BEGIN { print "/* ------------------------------START FROM " FILENAME "*/" } +# Awk filter, 1st filter for BFD prototype file extraction # # keep /*proto blocks /^\/\*proto\*/,/^\*\/|^\*-\*\// # -END { print "/* --------------------------------END FROM " FILENAME "*/\n" } +# Apparent bug in sed can discard last line in some situations; therefore +# make last line harmless. +END { print "\n" } |