From: ceriel Date: Mon, 17 Feb 1997 15:14:55 +0000 (+0000) Subject: bug fix: code referred to token attribute of wrong token! X-Git-Tag: release-5-5~33 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a44875cf00879bb05a8eaec3a514f8bc88aea86f;p=ack.git bug fix: code referred to token attribute of wrong token! --- diff --git a/util/LLgen/src/LLgen.g b/util/LLgen/src/LLgen.g index 3dbb503ba..e71e72a71 100644 --- a/util/LLgen/src/LLgen.g +++ b/util/LLgen/src/LLgen.g @@ -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.