diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-25 00:31:25 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-25 00:41:12 +0900 |
| commit | 7f29d50e4558a700b7611dc72e87e7922ac6a345 (patch) | |
| tree | b4a8b7c41457d209eb91e29f23044610d6b4b700 /src/ast.h | |
| parent | 36da139565202a9a39d1e4261ab8bf950041518b (diff) | |
| download | ducc-7f29d50e4558a700b7611dc72e87e7922ac6a345.tar.gz ducc-7f29d50e4558a700b7611dc72e87e7922ac6a345.tar.zst ducc-7f29d50e4558a700b7611dc72e87e7922ac6a345.zip | |
feat: support static function
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ struct Type { struct Type* base; int array_size; struct AstNode* def; + BOOL is_static; }; typedef struct Type Type; @@ -118,6 +119,7 @@ typedef enum AstNodeKind AstNodeKind; #define node_op __i1 #define node_stack_offset __i1 #define node_stack_size __i1 +#define node_function_is_static __i2 struct AstNode { AstNodeKind kind; |
