From 76d26ae0a90b818b609f3a727b44a475b3c520fe Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 27 Jun 2003 15:46:20 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2227 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/macro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ca65/macro.c b/src/ca65/macro.c index f8196c223..9a249cdec 100644 --- a/src/ca65/macro.c +++ b/src/ca65/macro.c @@ -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; -- 2.39.5