1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

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 */

View File

@ -15,7 +15,7 @@ CA65_INC = \"/usr/lib/cc65/asminc/\"
#
CC = gcc
CFLAGS = -g -Wall -W -std=c89
CFLAGS = -g -O2 -Wall -W -std=c89
override CFLAGS += -I$(COMMON)
override CFLAGS += -DCA65_INC=$(CA65_INC)
EBIND = emxbind