bug fix: code referred to token attribute of wrong token!

This commit is contained in:
ceriel 1997-02-17 15:14:55 +00:00
parent ae0cde301d
commit a44875cf00

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