export var functions
This commit is contained in:
parent
a08677b4f4
commit
4865c7ce92
5 changed files with 33 additions and 3 deletions
|
|
@ -56,7 +56,6 @@ func GetVar(arg string, vt VarTable) *Token {
|
|||
}
|
||||
|
||||
// TODO: this could be much more optimal
|
||||
// TODO: Make sure variables are evaluated before being set
|
||||
// probably a stdlib thing
|
||||
func SetVar(variable string, value *Token, vt VarTable) {
|
||||
(*vt)[variable] = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue