From: Akim Demaille Date: Fri, 17 Mar 2000 13:33:02 +0000 (+0000) Subject: * src/Makefile.am (bison.simple): Fix the awk program: quote only X-Git-Tag: BISON-1_28b~157 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/dbe7f27171417db1ff082adbdf0b35db5dd94e0f?ds=sidebyside;hp=75bbe78d87984e9c965b418f7a1bf20e0765f07d * src/Makefile.am (bison.simple): Fix the awk program: quote only the file name, not the whole `#line LINE FILE'. --- diff --git a/ChangeLog b/ChangeLog index b0e45468..fcd7c4a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-03-17 Akim Demaille + + * src/Makefile.am (bison.simple): Fix the awk program: quote only + the file name, not the whole `#line LINE FILE'. + 2000-03-17 Akim Demaille On syntax errors, report the token on which we choked. diff --git a/src/Makefile.am b/src/Makefile.am index 1f5ba8dd..f325b72a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,7 +27,7 @@ EXTRA_DIST = bison.s1 bison.hairy build.com bison.cld vmshlp.mar bison.simple: bison.s1 Makefile sed -e "s/@bison_version@/$(VERSION)/" $(srcdir)/bison.s1 | \ awk '\ - /^#line/ { printf "\"#line %d $(datadir)/bison.simple\"\n", NR+1; next }\ + /^#line/ { printf "#line %d \"$(datadir)/bison.simple\"\n", NR+1; next }\ { print }' >$@t mv $@t $@