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:
uz
2011-06-05 14:45:37 +00:00
parent 6a48359d23
commit 46f1285208
2 changed files with 4 additions and 4 deletions

View File

@@ -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)) {