mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +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>
|
||||
|
||||
Formatting changes.
|
||||
|
||||
@@ -949,9 +949,9 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
||||
|
||||
if (yychar <= yyeof_)
|
||||
{
|
||||
/* Return failure if at end of input. */
|
||||
if (yychar == yyeof_)
|
||||
YYABORT;
|
||||
/* Return failure if at end of input. */
|
||||
if (yychar == yyeof_)
|
||||
YYABORT;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -352,9 +352,9 @@ grammar_declaration:
|
||||
;
|
||||
|
||||
|
||||
/*----------*
|
||||
| %union. |
|
||||
*----------*/
|
||||
/*---------.
|
||||
| %union. |
|
||||
`---------*/
|
||||
|
||||
%token PERCENT_UNION "%union";
|
||||
|
||||
@@ -541,14 +541,14 @@ rhs:
|
||||
;
|
||||
|
||||
|
||||
/*----------------------------*
|
||||
| variable and content.opt. |
|
||||
*---------------------------*/
|
||||
/*---------------------------.
|
||||
| variable and content.opt. |
|
||||
`---------------------------*/
|
||||
|
||||
variable:
|
||||
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. */
|
||||
content.opt:
|
||||
@@ -560,9 +560,9 @@ content.opt:
|
||||
;
|
||||
|
||||
|
||||
/*-------------*
|
||||
| braceless. |
|
||||
*-------------*/
|
||||
/*------------.
|
||||
| braceless. |
|
||||
`------------*/
|
||||
|
||||
braceless:
|
||||
"{...}"
|
||||
@@ -577,9 +577,9 @@ braceless:
|
||||
;
|
||||
|
||||
|
||||
/*---------------*
|
||||
| Identifiers. |
|
||||
*---------------*/
|
||||
/*--------------.
|
||||
| Identifiers. |
|
||||
`--------------*/
|
||||
|
||||
/* Identifiers are returned as uniqstr values by the scanner.
|
||||
Depending on their use, we may need to make them genuine symbols. */
|
||||
|
||||
Reference in New Issue
Block a user