aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-27 14:56:24 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-27 14:56:24 -0400
commitca93e6f3cb78f65f8eb8aac0d6fae81be2c250e8 (patch)
tree426245f7e01d666cdcbdbc4c42766db9d1dcc95d /ast.h
parent9b15799e73b2d8342b815de1715c85c3a1bc27d7 (diff)
Simplify code by making `name := use ...` a Use AST instead of a Declare
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 2301100e..fbbdb702 100644
--- a/ast.h
+++ b/ast.h
@@ -311,6 +311,7 @@ struct ast_s {
bool skip_source:1;
} DocTest;
struct {
+ ast_t *var;
const char *path;
enum { USE_LOCAL, USE_MODULE, USE_SHARED_OBJECT, USE_HEADER, USE_C_CODE, USE_ASM } what;
} Use;