Fix enumerations to so they work as integers in indices; Add llir_opt.c and llir_print.c
This commit is contained in:
Ginger Bill
2017-01-03 20:07:46 +00:00
parent 883dd0642c
commit cff1b3dff6
8 changed files with 2080 additions and 33 deletions
+3
View File
@@ -1262,6 +1262,9 @@ bool is_semicolon_optional_for_node(AstFile *f, AstNode *s) {
case AstNode_HelperType:
return is_semicolon_optional_for_node(f, s->HelperType.type);
case AstNode_PointerType:
return is_semicolon_optional_for_node(f, s->PointerType.type);
case AstNode_StructType:
case AstNode_UnionType:
case AstNode_RawUnionType: