summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-23 11:34:42 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-23 11:34:42 -0700
commit552bc2c39411ee14b1af8c20950309e46fe63976 (patch)
tree7919574a9c53f42fcb7828f73960e8c1c2cef492 /parser.c
parent02846d30c0a77293ad481b4f98f6fa6b6b71cb74 (diff)
downloadnasm-552bc2c39411ee14b1af8c20950309e46fe63976.tar.gz
nasm-552bc2c39411ee14b1af8c20950309e46fe63976.tar.bz2
nasm-552bc2c39411ee14b1af8c20950309e46fe63976.zip
parser: don't use midcode declarations
OpenWatcom can't handle midcode variable declarations. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 450511b..e6126a5 100644
--- a/parser.c
+++ b/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 ]");