aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index b5b1ad3c..cad7bb64 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -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;
};