diff options
author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-26 10:12:02 +0900 |
---|---|---|
committer | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-26 10:12:02 +0900 |
commit | a483ec026792d8c635bbbe0adb2a502dec9a7940 (patch) | |
tree | f58b1ea5bffa202492f11aea00cd4eb98cf8cf1c /ast.go | |
parent | 49599e55caf178ff92b8ac6c34daf60f723ecf9b (diff) | |
download | kati-a483ec026792d8c635bbbe0adb2a502dec9a7940.tar.gz |
unexport LookupVarInCurrentScope
Diffstat (limited to 'ast.go')
-rw-r--r-- | ast.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,13 +66,13 @@ func (ast *assignAST) evalRHS(ev *Evaluator, lhs string) Var { case "=": return &recursiveVar{expr: ast.rhs, origin: origin} case "+=": - prev := ev.LookupVarInCurrentScope(lhs) + prev := ev.lookupVarInCurrentScope(lhs) if !prev.IsDefined() { return &recursiveVar{expr: ast.rhs, origin: origin} } return prev.AppendVar(ev, ast.rhs) case "?=": - prev := ev.LookupVarInCurrentScope(lhs) + prev := ev.lookupVarInCurrentScope(lhs) if prev.IsDefined() { return prev } |