Formatting changes.

* data/lalr1-fusion.cc, src/parse-gram.y: here.
This commit is contained in:
Akim Demaille
2008-07-25 21:29:43 +02:00
parent a2b93d5278
commit 3c26260608
3 changed files with 22 additions and 17 deletions

View File

@@ -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.

View File

@@ -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
{ {

View File

@@ -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. */