summaryrefslogtreecommitdiff
path: root/bisonfix.awk
diff options
context:
space:
mode:
Diffstat (limited to 'bisonfix.awk')
-rw-r--r--bisonfix.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/bisonfix.awk b/bisonfix.awk
index 80c00dc0..ba071ef4 100644
--- a/bisonfix.awk
+++ b/bisonfix.awk
@@ -1,6 +1,6 @@
# bisonfix.awk --- tweak awkgram.c for stupid compilers.
-# Copyright (C) 2005 the Free Software Foundation, Inc.
+# Copyright (C) 2005, 2009 the Free Software Foundation, Inc.
#
# This file is part of GAWK, the GNU implementation of the
# AWK Programming Language.
@@ -31,4 +31,6 @@
next
}
+/^#line.*y\.tab\.c/ { sub(/y.tab.c/, "awkgram.c") }
+
{ print }