bug fix: code referred to token attribute of wrong token!
authorceriel <none@none>
Mon, 17 Feb 1997 15:14:55 +0000 (15:14 +0000)
committerceriel <none@none>
Mon, 17 Feb 1997 15:14:55 +0000 (15:14 +0000)
util/LLgen/src/LLgen.g

index 3dbb503..e71e72a 100644 (file)
@@ -117,7 +117,7 @@ def                 {       register string p; }
           */
        | C_START C_IDENT
                        {       p = store(lextoken.t_string); }
-         ',' C_IDENT ';'
+         ',' C_IDENT
          /*
           * A start symbol declaration
           */
@@ -141,6 +141,7 @@ def                 {       register string p; }
                                        }
                                }
                        }
+         ';'
        | C_LEXICAL C_IDENT
          /*
           * Declaration of a name for the lexical analyser.