]> git.sur5r.net Git - cc65/commitdiff
Terminate the line containing the #if expression before passing it to the
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 29 May 2006 20:36:21 +0000 (20:36 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 29 May 2006 20:36:21 +0000 (20:36 +0000)
parser.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3743 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/preproc.c

index f04a9642ae7670a637e58e02e4eb924b68d9c7fd..846d07966b938a1c95cb9bb97a9d3929bd0e8777 100644 (file)
@@ -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 ();