mirror of
https://github.com/cc65/cc65.git
synced 2024-12-31 11:32:00 +00:00
Fixed the same problem as in the last change for the final token of .define
style macros. git-svn-id: svn://svn.cc65.org/cc65/trunk@5052 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ff9841d7b5
commit
4709e8251e
@ -658,7 +658,7 @@ static int MacExpand (void* Data)
|
||||
|
||||
/* Ok, use token from parameter list, but don't use its line info */
|
||||
TokSet (Mac->ParamExp, LI_SLOT_INV);
|
||||
|
||||
|
||||
/* Set pointer to next token */
|
||||
Mac->ParamExp = Mac->ParamExp->Next;
|
||||
|
||||
@ -737,7 +737,7 @@ static int MacExpand (void* Data)
|
||||
if (Mac->Final) {
|
||||
|
||||
/* Set the final token and remove it */
|
||||
TokSet (Mac->Final, Mac->LISlot);
|
||||
TokSet (Mac->Final, LI_SLOT_INV);
|
||||
FreeTokNode (Mac->Final);
|
||||
Mac->Final = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user