From 6662570a26219ff94ba3e8a4ad26e5b42b600957 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 1 Dec 2005 21:20:03 +0000 Subject: [PATCH] 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 --- 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 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; -- 2.39.5