From b423697aee32aedb8695c271528486389e39c403 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 3 Sep 2009 16:20:49 -0700 Subject: convert testing to World. start on Decl, but not working yet R=austin DELTA=762 (201 added, 205 deleted, 356 changed) OCL=34335 CL=34349 --- usr/austin/eval/compiler.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/austin/eval/compiler.go') diff --git a/usr/austin/eval/compiler.go b/usr/austin/eval/compiler.go index b13cd298c..12cace9e0 100644 --- a/usr/austin/eval/compiler.go +++ b/usr/austin/eval/compiler.go @@ -41,8 +41,9 @@ func (a *compiler) numError() int { func newUniverse() *Scope { sc := &Scope{nil, 0}; sc.block = &block{ - offset: -1, + offset: 0, scope: sc, + global: true, defs: make(map[string] Def) }; return sc; -- cgit v1.2.3