case EXPR_ERROR:
return error_to_firm(expression);
- case EXPR_INVALID:
- break;
}
panic("invalid expression found");
}
#endif
switch (statement->kind) {
- case STATEMENT_INVALID:
- panic("invalid statement found");
+ case STATEMENT_ERROR:
+ panic("error statement found");
case STATEMENT_EMPTY:
/* nothing */
return;