Skip to content
Snippets Groups Projects
Commit bc28ea08 authored by benjamin.franksen's avatar benjamin.franksen
Browse files

snc: added a missing case for void type

parent a9fac006
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,7 @@ static unsigned type_assignable_array(Type *t, int depth)
case T_FOREIGN:
case T_POINTER:
case T_EVFLAG:
case T_VOID:
return FALSE;
case T_ARRAY:
return type_assignable_array(t->val.array.elem_type, depth + 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment