mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
quote consistently and make tests pass with new quoting from gnulib
Updating to gnulib pulled in new quote and quotarg modules,
by which quoting is now done like 'this' rather than `this'.
That change induces many "make check" test failures. This change
adapts code and tests so that "make check" passes once again.
* src/scan-code.l: Quote like 'this', not like `this'.
* src/scan-gram.l: Likewise.
* src/symtab.c: Likewise.
* tests/actions.at: Adjust tests to match.
* tests/input.at: Likewise.
* tests/named-refs.at: Likewise.
* tests/output.at: Likewise.
* tests/regression.at: Likewise.
* lib/.gitignore: Regenerate.
* m4/.gitignore: Likewise.
(cherry picked from commit ae93e4e4b8)
Conflicts:
src/scan-code.l
src/scan-gram.l
src/symtab.c
tests/output.at
This commit is contained in:
committed by
Akim Demaille
parent
14594e38ad
commit
9874f80b2e
@@ -72,7 +72,7 @@ AT_CHECK_OUTPUT([foo.y], [%defines %verbose %yacc],[],
|
||||
AT_CHECK_OUTPUT([foo.yy], [%defines %verbose %yacc],[],
|
||||
[y.output y.tab.c y.tab.h])
|
||||
|
||||
# Exercise %output and %file-prefix including deprecated `='
|
||||
# Exercise %output and %file-prefix including deprecated '='
|
||||
AT_CHECK_OUTPUT([foo.y], [%file-prefix "bar" %defines %verbose], [],
|
||||
[bar.output bar.tab.c bar.tab.h])
|
||||
AT_CHECK_OUTPUT([foo.y], [%output="bar.c" %defines %verbose %yacc],[],
|
||||
@@ -157,21 +157,21 @@ AT_CLEANUP
|
||||
|
||||
AT_CHECK_CONFLICTING_OUTPUT([foo.y],
|
||||
[], [--graph="foo.tab.c"],
|
||||
[foo.y: warning: conflicting outputs to file `foo.tab.c'
|
||||
[foo.y: warning: conflicting outputs to file 'foo.tab.c'
|
||||
])
|
||||
|
||||
AT_CHECK_CONFLICTING_OUTPUT([foo.y],
|
||||
[%defines "foo.output"], [-v],
|
||||
[foo.y: warning: conflicting outputs to file `foo.output'
|
||||
[foo.y: warning: conflicting outputs to file 'foo.output'
|
||||
])
|
||||
|
||||
AT_CHECK_CONFLICTING_OUTPUT([foo.y],
|
||||
[%skeleton "lalr1.cc" %defines], [--graph="location.hh"],
|
||||
[foo.y: warning: conflicting outputs to file `location.hh'
|
||||
[foo.y: warning: conflicting outputs to file 'location.hh'
|
||||
])
|
||||
|
||||
AT_CHECK_CONFLICTING_OUTPUT([foo.y], [], [-o foo.y],
|
||||
[foo.y: refusing to overwrite the input file `foo.y'
|
||||
[foo.y: refusing to overwrite the input file 'foo.y'
|
||||
], 1)
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ AT_CLEANUP
|
||||
])
|
||||
|
||||
# Notice that the header file name here cannot contain
|
||||
# `"' since FILENAME in `#include "FILENAME"' cannot.
|
||||
# '"' since FILENAME in '#include "FILENAME"' cannot.
|
||||
AT_CHECK_OUTPUT_FILE_NAME([[`~!@#$%^&*()-=_+{}[]|\:;<>, .']])
|
||||
dnl Work around a bug in m4_expand that broke AT_SETUP in autoconf 2.62,
|
||||
dnl by using the definition from 2.63.
|
||||
|
||||
Reference in New Issue
Block a user