summaryrefslogtreecommitdiff
path: root/tests/output.at
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-16 19:20:50 +0100
committerAkim Demaille <demaille@gostai.com>2012-01-23 14:07:53 +0100
commit9874f80b2e813a8ad8e5562dbbaa30ecafd5e7d8 (patch)
tree9fe65d549d7a64dea87fa978e42cac2563eba38d /tests/output.at
parent14594e38ada5b5aa89d513ea8ae658996862f7c8 (diff)
downloadbison-9874f80b2e813a8ad8e5562dbbaa30ecafd5e7d8.tar.gz
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 ae93e4e4b8e78396a7707de3dcdd47aca7a46dec) Conflicts: src/scan-code.l src/scan-gram.l src/symtab.c tests/output.at
Diffstat (limited to 'tests/output.at')
-rw-r--r--tests/output.at12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/output.at b/tests/output.at
index 95343bbe..058ae89a 100644
--- a/tests/output.at
+++ b/tests/output.at
@@ -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.