mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/glr.c, data/lalr1.cc, data/yacc.cc, doc/bison.texinfo,
src/conflicts.c, src/parse-gram.y, src/tables.c, src/tables.h, tests/action.at, tests/calc.at, tests/conflicts.at, tests/cxx-type.at, tests/regression.at: "parse error" -> "syntax error" for POSIX compatibility. "parsing stack overflow..." -> "parser stack overflow" so that code matches Bison documentation.
This commit is contained in:
@@ -108,16 +108,16 @@ AT_PARSER_CHECK([./input '0<0'])
|
||||
# no one has ever spotted it! The messages are *wrong*: there should
|
||||
# be nothing there, it should be expected eof.
|
||||
AT_PARSER_CHECK([./input '0<0<0'], [1], [],
|
||||
[parse error, unexpected '<', expecting '<' or '>'
|
||||
[syntax error, unexpected '<', expecting '<' or '>'
|
||||
])
|
||||
|
||||
AT_PARSER_CHECK([./input '0>0'])
|
||||
AT_PARSER_CHECK([./input '0>0>0'], [1], [],
|
||||
[parse error, unexpected '>', expecting '<' or '>'
|
||||
[syntax error, unexpected '>', expecting '<' or '>'
|
||||
])
|
||||
|
||||
AT_PARSER_CHECK([./input '0<0>0'], [1], [],
|
||||
[parse error, unexpected '>', expecting '<' or '>'
|
||||
[syntax error, unexpected '>', expecting '<' or '>'
|
||||
])
|
||||
|
||||
AT_CLEANUP
|
||||
|
||||
Reference in New Issue
Block a user