mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Augment the similarity between GLR and LALR traces.
* data/yacc.c (yy_stack_print, YY_STACK_PRINT, yy_reduce_print) (YY_REDUCE_PRINT): New. (yyparse): Use them. * data/glr.c (yy_reduce_print): Use YYFPRINTF, no need for YYDPRINT here. (yyglrReduce, yyrecoverParseError, yyparse): Don't report the state reached after the reduction/recovery, since... (yyparse, yyprocessOneStack): Report the state we are entering in.
This commit is contained in:
13
ChangeLog
13
ChangeLog
@@ -1,3 +1,16 @@
|
||||
2002-11-16 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Augment the similarity between GLR and LALR traces.
|
||||
|
||||
* data/yacc.c (yy_stack_print, YY_STACK_PRINT, yy_reduce_print)
|
||||
(YY_REDUCE_PRINT): New.
|
||||
(yyparse): Use them.
|
||||
* data/glr.c (yy_reduce_print): Use YYFPRINTF, no need for
|
||||
YYDPRINT here.
|
||||
(yyglrReduce, yyrecoverParseError, yyparse): Don't report the
|
||||
state reached after the reduction/recovery, since...
|
||||
(yyparse, yyprocessOneStack): Report the state we are entering in.
|
||||
|
||||
2002-11-16 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/getargs.h, src/getargs.c (trace_e, trace_args, trace_types):
|
||||
|
||||
Reference in New Issue
Block a user