From: cuz Date: Sat, 14 Sep 2002 21:05:12 +0000 (+0000) Subject: .BLANK was also broken X-Git-Tag: V2.12.0~2235 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89b206f0461276e663b5805308e2b1910dab978f;p=cc65 .BLANK was also broken git-svn-id: svn://svn.cc65.org/cc65/trunk@1392 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/condasm.c b/src/ca65/condasm.c index 2377ccb1f..5d5b4d79d 100644 --- a/src/ca65/condasm.c +++ b/src/ca65/condasm.c @@ -279,7 +279,12 @@ void DoConditionals (void) D = AllocIf (".IFBLANK", 1); NextTok (); if (IfCond) { - SetIfCond (D, Tok == TOK_SEP); + if (Tok == TOK_SEP) { + SetIfCond (D, 1); + } else { + SetIfCond (D, 0); + SkipUntilSep (); + } } IfCond = GetCurrentIfCond (); break;