From: cuz Date: Thu, 1 Dec 2005 21:20:03 +0000 (+0000) Subject: A local macro symbol with a cheap local name (@...) was not identified as X-Git-Tag: V2.12.0~176 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6662570a26219ff94ba3e8a4ad26e5b42b600957;p=cc65 A local macro symbol with a cheap local name (@...) was not identified as such. git-svn-id: svn://svn.cc65.org/cc65/trunk@3677 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/macro.c b/src/ca65/macro.c index dc933cd8b..41697b66d 100644 --- a/src/ca65/macro.c +++ b/src/ca65/macro.c @@ -602,7 +602,7 @@ static int MacExpand (void* Data) } /* If it's an identifier, it may in fact be a local symbol */ - if (Tok == TOK_IDENT && Mac->M->LocalCount) { + if ((Tok == TOK_IDENT || Tok == TOK_LOCAL_IDENT) && Mac->M->LocalCount) { /* Search for the local symbol in the list */ unsigned Index = 0; IdDesc* I = Mac->M->Locals;