From 6de8ac7b9f0f41634617d83569972dc332fc35cc Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 14 Jun 2024 11:56:02 +0200 Subject: [PATCH] Added missing flag check --- src/build/Function.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/build/Function.go b/src/build/Function.go index 8044009..2a2d670 100644 --- a/src/build/Function.go +++ b/src/build/Function.go @@ -40,7 +40,10 @@ func (f *Function) Compile() { case "let": name := line[1].Text() value := line[3:] - fmt.Println("[variable]", name, value) + + if config.Verbose { + fmt.Println("[variable]", name, value) + } f.Variables[name] = &Variable{ Value: line[3:],