aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-04 13:48:26 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-04 13:48:26 -0400
commitd1b2e9f598fb8e4c0bb46fda3bc2b8e03ff1db55 (patch)
tree59d0171be180af6350df93638c751431a0765a20 /ast.h
parentf605df823016b9de23325c0a9d950c542a4ba1d5 (diff)
Disallow 'use' statements that aren't top level
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.h b/ast.h
index 1d295e58..53adb6a8 100644
--- a/ast.h
+++ b/ast.h
@@ -291,7 +291,7 @@ struct ast_s {
bool skip_source:1;
} DocTest;
struct {
- const char *name;
+ const char *path;
enum { USE_LOCAL, USE_MODULE, USE_SHARED_OBJECT, USE_HEADER } what;
} Use;
struct {