]> gitweb.ps.run Git - toc/blobdiff - src/visit.h
add comments, fix struct/function lookup
[toc] / src / visit.h
index 3fe2cb2b96f833aa16ae47e63b026bcb287b127d..1175a86adc7424e6693c4bac874b0dfc8cf4c287 100644 (file)
@@ -141,7 +141,7 @@ public:
     \r
     ctx = x.ctx;\r
 \r
-    VISIT(x.namespaces)\r
+    VISIT(x.ctx->namespaces)\r
     VISIT(x.ctx->variables)\r
     VISIT(x.ctx->structs)\r
     VISIT(x.ctx->functions)\r
@@ -188,7 +188,7 @@ public:
 \r
     ctx = x.ctx;\r
 \r
-    VISIT(x.namespaces)\r
+    VISIT(x.ctx->namespaces)\r
     VISIT(x.ctx->variables)\r
     VISIT(x.ctx->structs)\r
     VISIT(x.ctx->functions)\r