From: cuz Date: Mon, 29 May 2006 20:36:21 +0000 (+0000) Subject: Terminate the line containing the #if expression before passing it to the X-Git-Tag: V2.12.0~112 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b7255ed8fa02a776d98f4271e61f8bb541102178;p=cc65 Terminate the line containing the #if expression before passing it to the parser. git-svn-id: svn://svn.cc65.org/cc65/trunk@3743 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/preproc.c b/src/cc65/preproc.c index f04a9642a..846d07966 100644 --- a/src/cc65/preproc.c +++ b/src/cc65/preproc.c @@ -1064,6 +1064,7 @@ static int DoIf (int Skip) * the following line. */ SB_AppendStr (Line, ";;"); + SB_Terminate (Line); /* Load CurTok and NextTok with tokens from the new input */ NextToken ();