1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-15 06:27:36 +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:
cuz
2003-06-27 15:46:20 +00:00
parent 6766f4a2c1
commit 76d26ae0a9

View File

@@ -95,7 +95,7 @@ static Macro* MacroRoot = 0; /* List of all macros */
typedef struct MacExp_ MacExp; typedef struct MacExp_ MacExp;
struct MacExp_ { struct MacExp_ {
MacExp* Next; /* Pointer to next expansion */ 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 */ unsigned IfSP; /* .IF stack pointer at start of expansion */
TokNode* Exp; /* Pointer to current token */ TokNode* Exp; /* Pointer to current token */
TokNode* Final; /* Pointer to final 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 */ /* Initialize the macro struct */
M->LocalCount = 0; M->LocalCount = 0;
M->Locals = 0;
M->ParamCount = 0; M->ParamCount = 0;
M->Params = 0; M->Params = 0;
M->TokCount = 0; M->TokCount = 0;