diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-01 14:05:10 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-01 14:05:10 -0400 |
| commit | 4d59fc2987e52da0274e6b204a9d2885613f74b7 (patch) | |
| tree | 8c262f99cb6ae9b550b9f8abf0ab0477044d087a /src/ast.h | |
| parent | 7a2c99de74f5870e1dea5b59d049678ad0ef8e44 (diff) | |
Move patterns into a module
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -143,6 +143,7 @@ typedef enum { Use, InlineCCode, Deserialize, + Extend, } ast_e; struct ast_s { @@ -331,6 +332,10 @@ struct ast_s { ast_t *value; type_ast_t *type; } Deserialize; + struct { + const char *name; + ast_t *body; + } Extend; } __data; }; |
