summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-07-16 14:38:24 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-07-16 14:38:24 -0700
commit90e6e811c9d16012ac397f3b920986edee3db037 (patch)
tree2f010ad6fcf5bf44b1d23e1315ca3db8e9acb197
parent819703afce3375e9c1a601bc22295a36746c9144 (diff)
downloadnasm-90e6e811c9d16012ac397f3b920986edee3db037.tar.gz
nasm-90e6e811c9d16012ac397f3b920986edee3db037.tar.bz2
nasm-90e6e811c9d16012ac397f3b920986edee3db037.zip
preproc.c: fix %ifn, %elifn
The sense of %ifn and %elifn was reversed due to a bogus nonstandard return sequence.
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index d8a96eb..01aa351 100644
--- a/preproc.c
+++ b/preproc.c
@@ -1712,7 +1712,7 @@ static bool if_condition(Token * tline, enum preproc_token ct)
goto fail;
}
j = reloc_value(evalresult) != 0;
- return j;
+ break;
default:
error(ERR_FATAL,