[qfcc] Catch attempts to emit a bad operand type

This commit is contained in:
Bill Currie 2020-03-16 20:31:21 +09:00
parent 1d10136f2e
commit ede7dd6d7e
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ get_operand_def (expr_t *expr, operand_t *op)
case op_nil:
internal_error (expr, "unexpected nil operand");
}
internal_error (expr, "unexpected operand");
return 0;
}