summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nasm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index 7d38d60..c6ddc73 100644
--- a/nasm.c
+++ b/nasm.c
@@ -408,8 +408,9 @@ int main(int argc, char **argv)
location.known = false;
- /* pass = 1; */
+ /* pass = 1; */
preproc->reset(inname, 3, &nasmlist, depend_ptr);
+ memcpy(warning_on, warning_on_global, (ERR_WARN_MAX+1) * sizeof(bool));
while ((line = preproc->getline())) {
/*