diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-08 23:03:57 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-01-08 23:03:57 -0800 |
commit | 00835fec0e02492f8d65d83d48e4729750bd0ce6 (patch) | |
tree | a6d2b9dc46a421b85965155390950eaef045f89e /nasm.h | |
parent | 34ec30064302bdbd1202b23053af5811f8a6f9da (diff) | |
download | nasm-00835fec0e02492f8d65d83d48e4729750bd0ce6.tar.gz |
Sanitize the pass logic, and only issue PASS1 warnings on pass0 == 1
For PASS1 warnings, only do them when pass0 == 1. The prior passes
are to be considered training passes. This is a bit awkward if we
then hit an error, but it's better than n repeated warnings.
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -983,6 +983,7 @@ enum special_tokens { */ extern int pass0; +extern int passn; /* Actual pass number */ extern bool tasm_compatible_mode; extern int optimizing; |