mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
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:
parent
6a48359d23
commit
46f1285208
@ -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)) {
|
||||
|
||||
|
@ -15,7 +15,7 @@ CA65_INC = \"/usr/lib/cc65/asminc/\"
|
||||
|
||||
#
|
||||
CC = gcc
|
||||
CFLAGS = -g -O2 -Wall -W -std=c89
|
||||
CFLAGS = -g -Wall -W -std=c89
|
||||
override CFLAGS += -I$(COMMON)
|
||||
override CFLAGS += -DCA65_INC=$(CA65_INC)
|
||||
EBIND = emxbind
|
||||
|
Loading…
x
Reference in New Issue
Block a user