mirror of
https://github.com/cc65/cc65.git
synced 2024-12-21 20:29:24 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2227 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
6766f4a2c1
commit
76d26ae0a9
@ -95,7 +95,7 @@ static Macro* MacroRoot = 0; /* List of all macros */
|
||||
typedef struct MacExp_ MacExp;
|
||||
struct MacExp_ {
|
||||
MacExp* Next; /* Pointer to next expansion */
|
||||
Macro* M; /* Which macro do we expand? */
|
||||
Macro* M; /* Which macro do we expand? */
|
||||
unsigned IfSP; /* .IF stack pointer at start of expansion */
|
||||
TokNode* Exp; /* Pointer to current token */
|
||||
TokNode* Final; /* Pointer to final token */
|
||||
@ -149,6 +149,7 @@ static Macro* NewMacro (const char* Name, unsigned HashVal, unsigned char Style)
|
||||
|
||||
/* Initialize the macro struct */
|
||||
M->LocalCount = 0;
|
||||
M->Locals = 0;
|
||||
M->ParamCount = 0;
|
||||
M->Params = 0;
|
||||
M->TokCount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user