From a54556f9f2f732fff2bd6003a64928cb34dc0d32 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 22 Mar 2005 20:09:29 +0000 Subject: [PATCH] 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 --- src/ca65/macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5