mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* NEWS: Document minor wording changes in diagnostics of
Bison-generated parsers. * data/glr.c (yyMemoryExhausted): Renamed from yyStackOverflow. Remove unused formals. All uses changed. (yyreportAmbiguity): "ambiguity detected" -> "syntax is ambiguous". (yyparse): Rename yyoverflowlab to yyexhaustedlab. * data/yacc.c (yyparse): "parser stack overflow" -> "memory exhausted". Rename yyoverflowab to yyexhaustedlab. When memory exhaustion occurs during syntax-error reporting, report it separately rather than in a single diagnostic; this eases translation. * doc/bison.texinfo (Memory Management): Renamed from Stack Overflow. (Memory Exhausted): Renamed from Parser Stack Overflow. Revamp wording slightly to prefer "memory exhaustion". * tests/actions.at: "parser stack overflow" -> "memory exhausted".
This commit is contained in:
@@ -487,7 +487,7 @@ sending: '(' (18@180-189)
|
||||
sending: 'x' (19@190-199)
|
||||
thing (19@190-199): 'x' (19@190-199)
|
||||
sending: ')' (20@200-209)
|
||||
200-209: parser stack overflow
|
||||
200-209: memory exhausted
|
||||
Freeing nterm thing (19@190-199)
|
||||
Freeing nterm line (15@150-179)
|
||||
Freeing nterm line (12@120-149)
|
||||
|
||||
Reference in New Issue
Block a user