mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Added CT_SWITCH parsing in top level. Nil changed to null. Parsing more in line with grammar. Parse type as expressions. Zero init by default for locals. Corrected bool/fp conversion. Add memcpy pass to fix issue with value load/stores.
This commit is contained in:
committed by
Christoffer Lerno
parent
fb937156fe
commit
77ccfc1f7c
@@ -334,15 +334,7 @@ void gencontext_emit_extern_decl(GenContext *context, Decl *decl)
|
||||
break;
|
||||
case DECL_ENUM:
|
||||
TODO
|
||||
case DECL_ARRAY_VALUE:
|
||||
case DECL_IMPORT:
|
||||
case DECL_MACRO:
|
||||
case DECL_GENERIC:
|
||||
case DECL_CT_IF:
|
||||
case DECL_CT_ELSE:
|
||||
case DECL_CT_ELIF:
|
||||
case DECL_ATTRIBUTE:
|
||||
case DECL_LABEL:
|
||||
case NON_TYPE_DECLS:
|
||||
UNREACHABLE
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user