From 518d4d8d6548be72f66075a16c6990b637897345 Mon Sep 17 00:00:00 2001 From: Celestino Amoroso Date: Sat, 3 Jan 2026 09:11:43 +0100 Subject: [PATCH] simple-store.go: added function Init() --- simple-store.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simple-store.go b/simple-store.go index 8fcd258..1e98292 100644 --- a/simple-store.go +++ b/simple-store.go @@ -24,6 +24,11 @@ func NewSimpleStore() *SimpleStore { return ctx } +func (ss *SimpleStore) Init() { + ss.varStore = make(map[string]any) + ss.funcStore = make(map[string]ExprFunc) +} + func filterRefName(name string) bool { return name[0] != '@' } //func filterPrivName(name string) bool { return name[0] != '_' }