summaryrefslogtreecommitdiff
path: root/src/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.y b/src/parser.y
index 70aebba..26bdba6 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -551,6 +551,7 @@ Module *parse(const char *text, const char *path, int debug)
module_stack.clear();
Module *rootmodule = currmodule = new Module();
+ rootmodule->setModulePath(path);
// PRINTB_NOCACHE("New module: %s %p", "root" % rootmodule);
parserdebug = debug;
contact: Jan Huwald // Impressum