Added missing flag check

This commit is contained in:
Eduard Urbach 2024-06-14 11:56:02 +02:00
parent 19489d7a9a
commit 6de8ac7b9f
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -40,7 +40,10 @@ func (f *Function) Compile() {
case "let":
name := line[1].Text()
value := line[3:]
if config.Verbose {
fmt.Println("[variable]", name, value)
}
f.Variables[name] = &Variable{
Value: line[3:],