mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03: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:
@@ -322,7 +322,7 @@ thing(1@10): 'x'(1@10)
|
||||
sending: 'x' (value = 2, line 20)
|
||||
thing(2@20): 'x'(2@20)
|
||||
sending: 'x' (value = 3, line 30)
|
||||
30: parse error, unexpected 'x', expecting ';'
|
||||
30: syntax error, unexpected 'x', expecting ';'
|
||||
Freeing nterm thing (2@20)
|
||||
Freeing nterm thing (1@10)
|
||||
Freeing nterm thing (0@0)
|
||||
@@ -344,7 +344,7 @@ thing(10@100): 'x'(10@100)
|
||||
sending: ';' (value = 11, line 110)
|
||||
line(10@100): thing(10@100) ';'
|
||||
sending: 'y' (value = 12, line 120)
|
||||
120: parse error, unexpected $undefined, expecting $end or 'x'
|
||||
120: syntax error, unexpected $undefined, expecting $end or 'x'
|
||||
sending: EOF
|
||||
Freeing nterm line (10@100)
|
||||
Freeing nterm line (7@70)
|
||||
|
||||
Reference in New Issue
Block a user