mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/Makefile.am (bison.simple): Fix the awk program: quote only
the file name, not the whole `#line LINE FILE'.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-03-17 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* 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 <akim@epita.fr>
|
||||
|
||||
On syntax errors, report the token on which we choked.
|
||||
|
||||
@@ -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 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user