From 9610ce88f0b753db81014a053bd3c6d79471c90c Mon Sep 17 00:00:00 2001 From: Patrick Schönberger Date: Wed, 11 Aug 2021 23:34:11 +0200 Subject: add comments, fix struct/function lookup --- src/visit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/visit.h') 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) -- cgit v1.2.3