mirror of
https://github.com/cc65/cc65.git
synced 2024-12-30 20:29:25 +00:00
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
This commit is contained in:
parent
60bb97e433
commit
6662570a26
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user