/[bison]/bison/data/glr.c
ViewVC logotype

Diff of /bison/data/glr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.64 by eggert, Mon Aug 4 19:09:15 2003 UTC revision 1.65 by eggert, Sun Oct 5 06:46:52 2003 UTC
# Line 111  m4_define([b4_lhs_value], Line 111  m4_define([b4_lhs_value],
111  # Expansion of $<TYPE>NUM, where the current rule has RULE-LENGTH  # Expansion of $<TYPE>NUM, where the current rule has RULE-LENGTH
112  # symbols on RHS.  # symbols on RHS.
113  m4_define([b4_rhs_value],  m4_define([b4_rhs_value],
114  [yyvsp@{YYFILL (m4_eval([$2 - $1]))@}.yystate.yysemantics.yysval[]m4_ifval([$3], [.$3])])  [((yyGLRStackItem const *)yyvsp)@{YYFILL (m4_eval([$2 - $1]))@}.yystate.yysemantics.yysval[]m4_ifval([$3], [.$3])])
115    
116    
117    
# Line 131  m4_define([b4_lhs_location], Line 131  m4_define([b4_lhs_location],
131  # Expansion of @NUM, where the current rule has RULE-LENGTH symbols  # Expansion of @NUM, where the current rule has RULE-LENGTH symbols
132  # on RHS.  # on RHS.
133  m4_define([b4_rhs_location],  m4_define([b4_rhs_location],
134  [yyvsp@{YYFILL (m4_eval([$2 - $1]))@}.yystate.yyloc])  [((yyGLRStackItem const *)yyvsp)@{YYFILL (m4_eval([$2 - $1]))@}.yystate.yyloc])
135    
136  # We do want M4 expansion after # for CPP macros.  # We do want M4 expansion after # for CPP macros.
137  m4_changecom()  m4_changecom()

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26