aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 16:28:57 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 16:28:57 -0400
commitfd74479a2bf2e4ccc35d1c2fa206de8f28be1e54 (patch)
tree0cdf5c4659264b612b5f3fbb4ce6a3b11dd736f5 /src/ast.h
parent92185a002a2e8b669add454a945c0ecdc0904993 (diff)
Deprecate optional '?' postfix operator
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ast.h b/src/ast.h
index 53685b28..90191219 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -269,7 +269,6 @@ typedef enum {
LangDef,
Index,
FieldAccess,
- Optional,
NonOptional,
DocTest,
Assert,
@@ -438,7 +437,7 @@ struct ast_s {
} FieldAccess;
struct {
ast_t *value;
- } Optional, NonOptional;
+ } NonOptional;
struct {
ast_t *expr, *expected;
bool skip_source : 1;