From c4ece1f196c361f10515d1de41c1b23875769f54 Mon Sep 17 00:00:00 2001 From: CircleShift Date: Thu, 4 Dec 2025 01:53:29 -0500 Subject: [tnslc] setup scope --- tnslc/compile/module.tnsl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tnslc/compile/module.tnsl') diff --git a/tnslc/compile/module.tnsl b/tnslc/compile/module.tnsl index 0cfaa37..38653da 100644 --- a/tnslc/compile/module.tnsl +++ b/tnslc/compile/module.tnsl @@ -30,6 +30,8 @@ struct Module { Function f Module m + self.parent = NULL + self.vars.init(len v) self.structs.init(len s) self.funcs.init(len f) -- cgit v1.2.3