From 89b206f0461276e663b5805308e2b1910dab978f Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 14 Sep 2002 21:05:12 +0000 Subject: [PATCH] .BLANK was also broken git-svn-id: svn://svn.cc65.org/cc65/trunk@1392 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/condasm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 2.39.5