mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
* src/bison.simple (YYLLOC_DEFAULT): Update.
(yyparse): Adjust.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-08-09 Robert Anisko <anisko_r@epita.fr>
|
||||||
|
|
||||||
|
* src/bison.simple (YYLLOC_DEFAULT): Update.
|
||||||
|
(yyparse): Adjust.
|
||||||
|
|
||||||
2001-08-08 Marc Autret <autret_m@epita.fr>
|
2001-08-08 Marc Autret <autret_m@epita.fr>
|
||||||
|
|
||||||
* doc/bison.texinfo: Change @samp{$<@dots{}>} to
|
* doc/bison.texinfo: Change @samp{$<@dots{}>} to
|
||||||
|
|||||||
@@ -119,9 +119,9 @@ while (0)
|
|||||||
its range to the last symbol. */
|
its range to the last symbol. */
|
||||||
|
|
||||||
#ifndef YYLLOC_DEFAULT
|
#ifndef YYLLOC_DEFAULT
|
||||||
# define YYLLOC_DEFAULT(Current, Last) \
|
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
||||||
Current.last_line = Last.last_line; \
|
Current.last_line = Rhs[N].last_line; \
|
||||||
Current.last_column = Last.last_column;
|
Current.last_column = Rhs[N].last_column;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@@ -592,7 +592,7 @@ yyreduce:
|
|||||||
/* Similarly for the default location. Let the user run additional
|
/* Similarly for the default location. Let the user run additional
|
||||||
commands if for instance locations are ranges. */
|
commands if for instance locations are ranges. */
|
||||||
yyloc = yylsp[1-yylen];
|
yyloc = yylsp[1-yylen];
|
||||||
YYLLOC_DEFAULT (yyloc, yylsp[0]);
|
YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if YYDEBUG
|
#if YYDEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user