mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of built in aliases for headers.
This commit is contained in:
@@ -418,7 +418,7 @@ Decl *type_no_export(Type *type)
|
||||
case TYPE_DISTINCT:
|
||||
case TYPE_BITSTRUCT:
|
||||
case TYPE_TYPEDEF:
|
||||
if (type->decl->is_export) return NULL;
|
||||
if (!type->decl || type->decl->is_export) return NULL;
|
||||
return type->decl;
|
||||
case TYPE_SLICE:
|
||||
case TYPE_ARRAY:
|
||||
|
||||
Reference in New Issue
Block a user