The .IFNBLANK command was broken
git-svn-id: svn://svn.cc65.org/cc65/trunk@1391 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4b805447b6
commit
e1d24121e8
1 changed files with 6 additions and 1 deletions
|
@ -313,7 +313,12 @@ void DoConditionals (void)
|
||||||
D = AllocIf (".IFNBLANK", 1);
|
D = AllocIf (".IFNBLANK", 1);
|
||||||
NextTok ();
|
NextTok ();
|
||||||
if (IfCond) {
|
if (IfCond) {
|
||||||
SetIfCond (D, Tok != TOK_SEP);
|
if (Tok == TOK_SEP) {
|
||||||
|
SetIfCond (D, 0);
|
||||||
|
} else {
|
||||||
|
SetIfCond (D, 1);
|
||||||
|
SkipUntilSep ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
IfCond = GetCurrentIfCond ();
|
IfCond = GetCurrentIfCond ();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue