mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Prepare easier M4 changes.
* data/lalr1.cc: Use escaped [] instead of literals to prepare future changes.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-11-03 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Prepare easier M4 changes.
|
||||
* data/lalr1.cc: Use escaped [] instead of literals to prepare
|
||||
future changes.
|
||||
|
||||
2008-11-02 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||
|
||||
Initiate further development.
|
||||
|
||||
@@ -664,9 +664,9 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
||||
This behavior is undocumented and Bison
|
||||
users should not rely upon it. */
|
||||
if (yylen)
|
||||
yyval = yysemantic_stack_[yylen - 1];
|
||||
yyval = yysemantic_stack_@{yylen - 1@};
|
||||
else
|
||||
yyval = yysemantic_stack_[0];
|
||||
yyval = yysemantic_stack_@{0@};
|
||||
|
||||
{
|
||||
slice<location_type, location_stack_type> slice (yylocation_stack_, yylen);
|
||||
|
||||
Reference in New Issue
Block a user