abouttreesummaryrefslogcommitdiff
path: root/src/visit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/visit.h')
-rw-r--r--src/visit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/visit.h b/src/visit.h
index 3fe2cb2..1175a86 100644
--- a/src/visit.h
+++ b/src/visit.h
@@ -141,7 +141,7 @@ public:
ctx = x.ctx;
- VISIT(x.namespaces)
+ VISIT(x.ctx->namespaces)
VISIT(x.ctx->variables)
VISIT(x.ctx->structs)
VISIT(x.ctx->functions)
@@ -188,7 +188,7 @@ public:
ctx = x.ctx;
- VISIT(x.namespaces)
+ VISIT(x.ctx->namespaces)
VISIT(x.ctx->variables)
VISIT(x.ctx->structs)
VISIT(x.ctx->functions)