Remove index variable after loop completion

This commit is contained in:
Elara 2021-03-02 00:18:52 -08:00
parent 877f85ef78
commit 412079c20a
1 changed files with 1 additions and 0 deletions

1
ast.go
View File

@ -115,6 +115,7 @@ func executeCmd(cmd *Command) error {
}
}
}
delete(Vars, *RptLoop.IndexVar)
}
}
return nil