Added missing flag check

This commit is contained in:
Eduard Urbach 2024-06-14 11:56:02 +02:00
parent 3da77d22d7
commit 4a2e306e80
Signed by: eduard
GPG key ID: 49226B848C78F6C8

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:],