mirror of
https://github.com/cc65/cc65.git
synced 2024-07-03 06:29:36 +00:00
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
|
@ -313,7 +313,12 @@ void DoConditionals (void)
|
|||
D = AllocIf (".IFNBLANK", 1);
|
||||
NextTok ();
|
||||
if (IfCond) {
|
||||
SetIfCond (D, Tok != TOK_SEP);
|
||||
if (Tok == TOK_SEP) {
|
||||
SetIfCond (D, 0);
|
||||
} else {
|
||||
SetIfCond (D, 1);
|
||||
SkipUntilSep ();
|
||||
}
|
||||
}
|
||||
IfCond = GetCurrentIfCond ();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user