diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 21:09:12 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 21:09:12 +0000 |
commit | 8ac364139a0af08f834c11bd2b8bd6dfc6707dfb (patch) | |
tree | 46016ba4569be263d5bf772e359e3207255bf12a /parser.c | |
parent | 005b39c856917f060973f8d07c98d111b67d0a7f (diff) | |
download | nasm-8ac364139a0af08f834c11bd2b8bd6dfc6707dfb.tar.gz nasm-8ac364139a0af08f834c11bd2b8bd6dfc6707dfb.tar.bz2 nasm-8ac364139a0af08f834c11bd2b8bd6dfc6707dfb.zip |
NASM 0.98.30
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -122,7 +122,7 @@ insn *parse_line (int pass, char *buffer, insn *result, expr *value; i = stdscan(NULL, &tokval); - value = evaluate (stdscan, NULL, &tokval, NULL, pass, error, NULL); + value = evaluate (stdscan, NULL, &tokval, NULL, pass0, error, NULL); i = tokval.t_type; if (!value) { /* but, error in evaluator */ result->opcode = -1; /* unrecoverable parse error: */ @@ -189,9 +189,10 @@ insn *parse_line (int pass, char *buffer, insn *result, result->opcode == I_RESD || result->opcode == I_RESQ || result->opcode == I_REST || - result->opcode == I_EQU) + result->opcode == I_EQU || + result->opcode == I_INCBIN) /* fbk */ { - critical = pass; + critical = pass0; } else critical = (pass==2 ? 2 : 0); |