mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
glr2.cc: formatting changes
* data/skeletons/glr2.cc: here.
This commit is contained in:
@@ -394,7 +394,8 @@ m4_define([b4_pure_args],
|
||||
|
||||
# b4_lpure_args
|
||||
# -------------
|
||||
# Same as above, but on the lookahead, hence &yylloc instead of yylocp. This is used only inside glr_stack, so there's no need to explicitly pass yyparser.
|
||||
# Same as above, but on the lookahead, hence &yylloc instead of yylocp. This is
|
||||
# used only inside glr_stack, so there's no need to explicitly pass yyparser.
|
||||
m4_define([b4_lpure_args],
|
||||
[b4_pure_if([b4_locations_if([, &yylloc])])[]b4_user_args])
|
||||
|
||||
@@ -853,7 +854,8 @@ class glr_state {
|
||||
, yylrState(lrState)
|
||||
, yyposn(posn)
|
||||
, yypred(0)]b4_locations_if([[
|
||||
, yyloc(loc)]])[ {
|
||||
, yyloc(loc)]])[
|
||||
{
|
||||
semanticVal() = sval;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user