From: cuz Date: Tue, 22 Mar 2005 20:09:29 +0000 (+0000) Subject: Cheap local symbol in a macro .local statement were broken X-Git-Tag: V2.12.0~427 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a54556f9f2f732fff2bd6003a64928cb34dc0d32;p=cc65 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 --- diff --git a/src/ca65/macro.c b/src/ca65/macro.c index 70bd91e48..dc933cd8b 100644 --- a/src/ca65/macro.c +++ b/src/ca65/macro.c @@ -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;