diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 00:13:53 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 00:13:53 -0400 |
| commit | fa7e52787f81f3673f9d57e9e4ba7fc015ca8432 (patch) | |
| tree | f184ad44625d04d1bf80af8e83f4512124b3ff2f /ast.h | |
| parent | 8e300312a077421477fdeb6453f625461799ffc0 (diff) | |
Add postfix `!` operator for optionals
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,7 +124,7 @@ typedef enum { Return, Extern, StructDef, EnumDef, LangDef, - Index, FieldAccess, Optional, + Index, FieldAccess, Optional, NonOptional, DocTest, Use, LinkerDirective, @@ -288,7 +288,7 @@ struct ast_s { } FieldAccess; struct { ast_t *value; - } Optional; + } Optional, NonOptional; struct { ast_t *expr; const char *output; |
