Cheap local symbol in a macro .local statement were broken

git-svn-id: svn://svn.cc65.org/cc65/trunk@3412 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2005-03-22 20:09:29 +00:00
parent 6e55cd6fb3
commit a54556f9f2

View File

@@ -464,7 +464,7 @@ void MacDef (unsigned Style)
NextTok (); NextTok ();
/* Need an identifer */ /* Need an identifer */
if (Tok != TOK_IDENT) { if (Tok != TOK_IDENT && Tok != TOK_LOCAL_IDENT) {
Error ("Identifier expected"); Error ("Identifier expected");
SkipUntilSep (); SkipUntilSep ();
break; break;