From a483ec026792d8c635bbbe0adb2a502dec9a7940 Mon Sep 17 00:00:00 2001 From: Fumitoshi Ukai Date: Fri, 26 Jun 2015 10:12:02 +0900 Subject: unexport LookupVarInCurrentScope --- ast.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ast.go') diff --git a/ast.go b/ast.go index 17ad01a..65d40e1 100644 --- a/ast.go +++ b/ast.go @@ -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 } -- cgit v1.2.3