aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2026-01-29 10:48:05 +0000
committergingerBill <gingerBill@users.noreply.github.com>2026-01-29 10:49:26 +0000
commit07d814d9cf3bf2065e4122dba91817935dca7c60 (patch)
treee19ee510f617a487d8e6391b59bfaf121efd8e36 /src/parser.hpp
parent4a7fb4666722b3ff45998c3bc11f03150a2fe53f (diff)
Add `struct #simple` to force a struct to use simple comparison if all of the fields "nearly simply comparable".
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 011330438..39f56ffae 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -780,6 +780,7 @@ AST_KIND(_TypeBegin, "", bool) \
bool is_raw_union; \
bool is_no_copy; \
bool is_all_or_none; \
+ bool is_simple; \
}) \
AST_KIND(UnionType, "union type", struct { \
Scope *scope; \