summaryrefslogtreecommitdiff
path: root/src/pkg/exp/eval/scope.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/exp/eval/scope.go')
-rw-r--r--src/pkg/exp/eval/scope.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/eval/scope.go b/src/pkg/exp/eval/scope.go
index e67135c0c..971b92d53 100644
--- a/src/pkg/exp/eval/scope.go
+++ b/src/pkg/exp/eval/scope.go
@@ -132,7 +132,7 @@ func (b *block) defineSlot(t Type, temp bool) *Variable {
index = b.offset + b.numVars;
b.numVars++;
if index >= b.scope.maxVars {
- b.scope.maxVars = index+1
+ b.scope.maxVars = index + 1
}
}
v := &Variable{token.Position{}, index, t, nil};