mirror of
https://github.com/cc65/cc65.git
synced 2024-06-07 07:29:33 +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…
Reference in New Issue
Block a user