Added a comment about the fix explaining why the given order of calls is necessary.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5035 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-06-05 14:47:28 +00:00
parent 46f1285208
commit f0a6653bd1
2 changed files with 5 additions and 2 deletions

View File

@@ -677,7 +677,10 @@ static void StartExpClassic (Macro* M)
token_t Term;
/* Create a structure holding expansion data */
/* Create a structure holding expansion data. This must be done before
* skipping the macro name, because the call to NextTok may cause a new
* expansion if the next token is actually a .define style macro.
*/
E = NewMacExp (M);
/* Skip the macro name */