Fixed an error in macro expansion: If the first token after the macro name was
a .define style macro, the assembler run into an internal error, because the expansion of the second macro was started before the first one git-svn-id: svn://svn.cc65.org/cc65/trunk@5034 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -677,12 +677,12 @@ static void StartExpClassic (Macro* M)
|
||||
token_t Term;
|
||||
|
||||
|
||||
/* Skip the macro name */
|
||||
NextTok ();
|
||||
|
||||
/* Create a structure holding expansion data */
|
||||
E = NewMacExp (M);
|
||||
|
||||
/* Skip the macro name */
|
||||
NextTok ();
|
||||
|
||||
/* Read the actual parameters */
|
||||
while (!TokIsSep (CurTok.Tok)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user