aboutsummaryrefslogtreecommitdiff
path: root/bfd/awkscan-ip
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-08-21 21:37:39 +0000
committerRoland Pesch <pesch@cygnus>1991-08-21 21:37:39 +0000
commitdd260c230be518ce8534466a11835bcb2a8fade9 (patch)
tree7d8687a32813e7898be45b7b5822052492876437 /bfd/awkscan-ip
parent90125c859600b07fa823fa97d5805599e38d1998 (diff)
downloadgdb-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-ip')
-rwxr-xr-xbfd/awkscan-ip8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/awkscan-ip b/bfd/awkscan-ip
index 01e3c05..73bd61f 100755
--- a/bfd/awkscan-ip
+++ b/bfd/awkscan-ip
@@ -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 internal prototype file extraction
#
# keep /*proto-internal blocks
/^\/\*proto-internal\*/,/^\*\/|^\*-\*\//
#
-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" }