summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 21:09:12 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 21:09:12 +0000
commit8ac364139a0af08f834c11bd2b8bd6dfc6707dfb (patch)
tree46016ba4569be263d5bf772e359e3207255bf12a /parser.c
parent005b39c856917f060973f8d07c98d111b67d0a7f (diff)
downloadnasm-8ac364139a0af08f834c11bd2b8bd6dfc6707dfb.tar.gz
NASM 0.98.30nasm-0.98.30
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/parser.c b/parser.c
index 23d32926..653f8a69 100644
--- a/parser.c
+++ b/parser.c
@@ -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);