Rename #partial[Enum]Type to #sparse[Enum]Type for non-contiguous enum fields

This commit is contained in:
gingerBill committed 2022-02-05 13:01:15 +00:00
1 parent 1553137c23
commit 97be867103
7 files changed
+22 -8

No files matched your search

+1 -1
View File
@@ -2134,7 +2134,7 @@ Ast *parse_operand(AstFile *f, bool lhs) {
break;
}
return original_type;
} else if (name.string == "partial") {
} else if (name.string == "sparse") {
Ast *tag = ast_basic_directive(f, token, name);
Ast *original_type = parse_type(f);
Ast *type = unparen_expr(original_type);