Added missing flag check
This commit is contained in:
parent
3da77d22d7
commit
4a2e306e80
1 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,10 @@ func (f *Function) Compile() {
|
||||||
case "let":
|
case "let":
|
||||||
name := line[1].Text()
|
name := line[1].Text()
|
||||||
value := line[3:]
|
value := line[3:]
|
||||||
|
|
||||||
|
if config.Verbose {
|
||||||
fmt.Println("[variable]", name, value)
|
fmt.Println("[variable]", name, value)
|
||||||
|
}
|
||||||
|
|
||||||
f.Variables[name] = &Variable{
|
f.Variables[name] = &Variable{
|
||||||
Value: line[3:],
|
Value: line[3:],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue