NASM 0.98.20

This commit is contained in:
H. Peter Anvin 2002-04-30 21:05:35 +00:00
parent 2654e0d8ea
commit b1a0143a0d
2 changed files with 5 additions and 2 deletions

5
nasm.c
View File

@ -819,7 +819,7 @@ static void assemble_file (char *fname)
*q++ = '\0';
ofmt->symdef(value, 0L, 0L, 3, q);
}
} else if (pass0 == 1) { /* pass == 1 */
} else if (pass == 1) { /* pass == 1 */
q = value;
validid = TRUE;
if (!isidstart(*q))
@ -840,9 +840,12 @@ static void assemble_file (char *fname)
} else
special = NULL;
if (!is_extern(value)) { /* allow re-EXTERN to be ignored */
int temp = pass0;
pass0 = 1; /* fake pass 1 in labels.c */
declare_as_global (value, special, report_error);
define_label (value, seg_alloc(), 0L, NULL, FALSE, TRUE,
ofmt, report_error);
pass0 = temp;
}
} /* else pass0 == 1 */
break;

2
nasm.h
View File

@ -13,7 +13,7 @@
#define NASM_MAJOR_VER 0
#define NASM_MINOR_VER 98
#define NASM_VER "0.98.19"
#define NASM_VER "0.98.20"
#ifndef NULL
#define NULL 0