mirror of
https://github.com/cc65/cc65.git
synced 2025-03-02 18:30:09 +00:00
Improved diagnostic info on assignment to void types.
This commit is contained in:
parent
abcc2a8f1a
commit
8541f18340
@ -903,6 +903,7 @@ unsigned TypeOf (const Type* T)
|
||||
/* Address of ... */
|
||||
return CF_INT | CF_UNSIGNED;
|
||||
|
||||
case T_VOID:
|
||||
case T_ENUM:
|
||||
/* Incomplete enum type */
|
||||
Error ("Incomplete type '%s'", GetFullTypeName (T));
|
||||
|
Loading…
x
Reference in New Issue
Block a user