lalr1.cc: formatting changes

* data/lalr1.cc: Fix indentation.
This commit is contained in:
Akim Demaille
2013-11-15 10:10:41 +01:00
parent 5c77412162
commit 44186fc4ec

View File

@@ -817,15 +817,15 @@ b4_dollar_popdef])[]dnl
stack_symbol_type yylhs; stack_symbol_type yylhs;
yylhs.state = yy_lr_goto_state_(yystack_[yylen].state, yyr1_[yyn]);]b4_variant_if([ yylhs.state = yy_lr_goto_state_(yystack_[yylen].state, yyr1_[yyn]);]b4_variant_if([
/* Variants are always initialized to an empty instance of the /* Variants are always initialized to an empty instance of the
correct type. The default $$=$1 action is NOT applied when using correct type. The default '$$ = $1' action is NOT applied
variants. */ when using variants. */
b4_symbol_variant([[yyr1_@{yyn@}]], [yylhs.value], [build])],[ b4_symbol_variant([[yyr1_@{yyn@}]], [yylhs.value], [build])], [
/* If YYLEN is nonzero, implement the default value of the action: /* If YYLEN is nonzero, implement the default value of the
'$$ = $1'. Otherwise, use the top of the stack. action: '$$ = $1'. Otherwise, use the top of the stack.
Otherwise, the following line sets YYLHS.VALUE to garbage. Otherwise, the following line sets YYLHS.VALUE to garbage.
This behavior is undocumented and Bison This behavior is undocumented and Bison users should not rely
users should not rely upon it. */ upon it. */
if (yylen) if (yylen)
yylhs.value = yystack_@{yylen - 1@}.value; yylhs.value = yystack_@{yylen - 1@}.value;
else else