mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
parser: don't use midcode declarations
OpenWatcom can't handle midcode variable declarations. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
02846d30c0
commit
552bc2c394
3
parser.c
3
parser.c
@ -174,6 +174,7 @@ insn *parse_line(int pass, char *buffer, insn * result,
|
||||
int j;
|
||||
bool first;
|
||||
bool insn_is_label = false;
|
||||
bool recover;
|
||||
|
||||
restart_parse:
|
||||
first = true;
|
||||
@ -679,7 +680,7 @@ restart_parse:
|
||||
}
|
||||
}
|
||||
|
||||
bool recover = false;
|
||||
recover = false;
|
||||
if (mref && bracket) { /* find ] at the end */
|
||||
if (i != ']') {
|
||||
error(ERR_NONFATAL, "parser: expecting ]");
|
||||
|
Loading…
Reference in New Issue
Block a user