summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
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 23d3292..653f8a6 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);