1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-09 22:29:35 +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:
uz 2011-06-13 08:55:48 +00:00
parent ff9841d7b5
commit 4709e8251e

View File

@ -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;