mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 10:43:02 +00:00
Formatting changes.
* data/lalr1-fusion.cc, src/parse-gram.y: here.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-11-04 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Formatting changes.
|
||||||
|
* data/lalr1-fusion.cc, src/parse-gram.y: here.
|
||||||
|
|
||||||
2008-11-04 Akim Demaille <demaille@gostai.com>
|
2008-11-04 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Formatting changes.
|
Formatting changes.
|
||||||
|
|||||||
@@ -949,9 +949,9 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
|||||||
|
|
||||||
if (yychar <= yyeof_)
|
if (yychar <= yyeof_)
|
||||||
{
|
{
|
||||||
/* Return failure if at end of input. */
|
/* Return failure if at end of input. */
|
||||||
if (yychar == yyeof_)
|
if (yychar == yyeof_)
|
||||||
YYABORT;
|
YYABORT;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -352,9 +352,9 @@ grammar_declaration:
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
/*----------*
|
/*---------.
|
||||||
| %union. |
|
| %union. |
|
||||||
*----------*/
|
`---------*/
|
||||||
|
|
||||||
%token PERCENT_UNION "%union";
|
%token PERCENT_UNION "%union";
|
||||||
|
|
||||||
@@ -541,14 +541,14 @@ rhs:
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
/*----------------------------*
|
/*---------------------------.
|
||||||
| variable and content.opt. |
|
| variable and content.opt. |
|
||||||
*---------------------------*/
|
`---------------------------*/
|
||||||
|
|
||||||
variable:
|
variable:
|
||||||
ID
|
ID
|
||||||
| STRING { $$ = uniqstr_new ($1); } /* deprecated and not M4-friendly */
|
| STRING { $$ = uniqstr_new ($1); } /* deprecated and not M4-friendly */
|
||||||
;
|
;
|
||||||
|
|
||||||
/* Some content or empty by default. */
|
/* Some content or empty by default. */
|
||||||
content.opt:
|
content.opt:
|
||||||
@@ -560,9 +560,9 @@ content.opt:
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
/*-------------*
|
/*------------.
|
||||||
| braceless. |
|
| braceless. |
|
||||||
*-------------*/
|
`------------*/
|
||||||
|
|
||||||
braceless:
|
braceless:
|
||||||
"{...}"
|
"{...}"
|
||||||
@@ -577,9 +577,9 @@ braceless:
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
/*---------------*
|
/*--------------.
|
||||||
| Identifiers. |
|
| Identifiers. |
|
||||||
*---------------*/
|
`--------------*/
|
||||||
|
|
||||||
/* Identifiers are returned as uniqstr values by the scanner.
|
/* Identifiers are returned as uniqstr values by the scanner.
|
||||||
Depending on their use, we may need to make them genuine symbols. */
|
Depending on their use, we may need to make them genuine symbols. */
|
||||||
|
|||||||
Reference in New Issue
Block a user