summaryrefslogtreecommitdiffhomepage
path: root/ast.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-06 15:49:27 +0200
committerJo-Philipp Wich <jo@mein.io>2020-10-06 15:49:27 +0200
commit5f19e5870007d57034adea5f124e3c87413a1aaf (patch)
tree4efa64ad38b7352e73dc455a441fa1296ee690b4 /ast.h
parent95b9a70d57e05e30a92183921c2c8e8472d56dd8 (diff)
ast, eval: track current file name across function invocations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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 365d4c0..8d9a8eb 100644
--- a/ast.h
+++ b/ast.h
@@ -88,7 +88,7 @@ struct ut_scope {
};
struct ut_function {
- char *name;
+ char *name, *filename;
struct json_object *args;
struct ut_scope *scope, *parent_scope;
uint32_t entry;