mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +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>
|
2000-03-17 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
On syntax errors, report the token on which we choked.
|
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
|
bison.simple: bison.s1 Makefile
|
||||||
sed -e "s/@bison_version@/$(VERSION)/" $(srcdir)/bison.s1 | \
|
sed -e "s/@bison_version@/$(VERSION)/" $(srcdir)/bison.s1 | \
|
||||||
awk '\
|
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
|
{ print }' >$@t
|
||||||
mv $@t $@
|
mv $@t $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user