gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
authorAkim Demaille <akim@epita.fr>
Fri, 7 Jun 2002 19:19:42 +0000 (21:19 +0200)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 7 Jun 2002 19:19:42 +0000 (19:19 +0000)
2002-06-07  Akim Demaille  <akim@epita.fr>

* gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
Whitespace changes.

From-SVN: r54348

gcc/ChangeLog
gcc/gengtype-yacc.y

index 40e955426d52aaf8bd8e74591a1e3431d914fd55..7c9251c41d26ebb935d9b6d477688dfde9ef16c4 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-07  Akim Demaille  <akim@epita.fr>
+
+       * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
+       Whitespace changes.
+
 2002-06-07  Jeffrey Law  <law@redhat.com>
 
        * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list
index ba3340765d4a03e63ce96c59a195d5704d0a0995..22a26dd70f551224d0076bfc73320a29263c9d4a 100644 (file)
@@ -84,7 +84,7 @@ typedef_struct: ENT_TYPEDEF_STRUCT options '{' struct_fields '}' ID
 
 externstatic: ENT_EXTERNSTATIC options lasttype ID semiequal
                 {
-                  note_variable ($4, adjust_field_type ($3, $2), $2, 
+                  note_variable ($4, adjust_field_type ($3, $2), $2,
                                  &lexer_line);
                 }
              | ENT_EXTERNSTATIC options lasttype ID ARRAY semiequal
@@ -101,7 +101,7 @@ externstatic: ENT_EXTERNSTATIC options lasttype ID semiequal
              ;
 
 lasttype: type
-           { 
+           {
              lexer_toplevel_done = 1;
              $$ = $1;
            }
@@ -121,7 +121,7 @@ yacc_union: ENT_YACCUNION options struct_fields '}' yacc_typematch
 yacc_typematch: /* empty */
                   { $$ = NULL; }
                | yacc_typematch PERCENT_ID yacc_ids
-                  { 
+                  {
                     pair_p p;
                     for (p = $3; p->next != NULL; p = p->next)
                       {
@@ -154,7 +154,7 @@ yacc_typematch: /* empty */
 yacc_ids: /* empty */
        { $$ = NULL; }
      | yacc_ids ID
-        { 
+        {
          pair_p p = xcalloc (1, sizeof (*p));
          p->next = $1;
          p->line = lexer_line;
@@ -272,7 +272,7 @@ option:     type_option '(' type ')'
             $$ = o;
           }
        | ID '(' STRING ')'
-          { 
+          {
             options_p o = xmalloc (sizeof (*o));
             o->name = $1;
             o->info = (void *)$3;
@@ -292,7 +292,7 @@ optionseq: option
              }
            ;
 
-optionseqopt: { $$ = NULL }
+optionseqopt: { $$ = NULL; }
              | optionseq { $$ = $1; }
              ;
 %%