summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-08 23:03:57 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-08 23:03:57 -0800
commit00835fec0e02492f8d65d83d48e4729750bd0ce6 (patch)
treea6d2b9dc46a421b85965155390950eaef045f89e /nasm.h
parent34ec30064302bdbd1202b23053af5811f8a6f9da (diff)
downloadnasm-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 6b43f45d..8a11afdb 100644
--- a/nasm.h
+++ b/nasm.h
@@ -983,6 +983,7 @@ enum special_tokens {
*/
extern int pass0;
+extern int passn; /* Actual pass number */
extern bool tasm_compatible_mode;
extern int optimizing;