mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
Error info for loading expressions of incomplete enum types.
No more "Illegal type 0016".
This commit is contained in:
parent
6df4f1996b
commit
d6aa446b54
@ -974,6 +974,11 @@ unsigned TypeOf (const Type* T)
|
||||
/* Address of ... */
|
||||
return CF_INT | CF_UNSIGNED;
|
||||
|
||||
case T_ENUM:
|
||||
/* Incomplete enum type */
|
||||
Error ("Incomplete enum type");
|
||||
return CF_INT;
|
||||
|
||||
default:
|
||||
Error ("Illegal type %04lX", T->C);
|
||||
return CF_INT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user