fix an interal error caused by losing the error state

This commit is contained in:
Bill Currie 2006-12-16 11:45:47 +00:00 committed by Jeff Teunissen
parent 48d9d96005
commit 0bd92e439a

View file

@ -434,7 +434,7 @@ do_op_pointer (int op, expr_t *e, expr_t *e1, expr_t *e2)
}
if (op != PAS && op != '.' && op != '&' && op != 'M'
&& extract_type (e1) != extract_type (e2))
type_mismatch (e1, e2, op);
return type_mismatch (e1, e2, op);
if ((op == '.' || op == '&') && get_type (e2) == &type_uinteger) {
//FIXME should implement unsigned addressing
e->e.expr.e2 = cast_expr (&type_integer, e2);