mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Work on getting typeof up and running. Try-else now works.
This commit is contained in:
@@ -231,6 +231,8 @@ void gencontext_emit_function_decl(GenContext *context, Decl *decl)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
void gencontext_emit_extern_decl(GenContext *context, Decl *decl)
|
||||
{
|
||||
switch (decl->decl_kind)
|
||||
@@ -253,6 +255,7 @@ void gencontext_emit_extern_decl(GenContext *context, Decl *decl)
|
||||
case DECL_STRUCT:
|
||||
case DECL_UNION:
|
||||
llvm_type(decl->type);
|
||||
TODO // Fix typeid
|
||||
break;
|
||||
case DECL_ENUM:
|
||||
TODO
|
||||
|
||||
Reference in New Issue
Block a user