]> git.sur5r.net Git - cc65/commitdiff
Cheap local symbol in a macro .local statement were broken
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 22 Mar 2005 20:09:29 +0000 (20:09 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 22 Mar 2005 20:09:29 +0000 (20:09 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3412 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/macro.c

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