aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-02-05 13:01:15 +0000
committergingerBill <bill@gingerbill.org>2022-02-05 13:01:15 +0000
commit97be86710306702a672309b23fbe8d38f1e6eeec (patch)
treeb8794b78149da6ec960250a1597073c6f7ec250f /src/parser.cpp
parent1553137c2365c3980488a6455fd83f0fcb9e28ca (diff)
Rename `#partial[Enum]Type` to `#sparse[Enum]Type` for non-contiguous enum fields
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 6db71bc4a..7302b18a9 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -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);