summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_gram.y b/sys/dev/aic7xxx/aicasm/aicasm_gram.y
index e4ee307..cc7475c 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_gram.y
+++ b/sys/dev/aic7xxx/aicasm/aicasm_gram.y
@@ -1076,7 +1076,7 @@ conditional:
last_scope = TAILQ_LAST(&scope_context->inner_scope,
scope_tailq);
if (last_scope == NULL
- || last_scope->type == T_ELSE) {
+ || last_scope->type == SCOPE_ELSE) {
stop("'else if' without leading 'if'", EX_DATAERR);
/* NOTREACHED */
OpenPOWER on IntegriCloud