summaryrefslogtreecommitdiff
path: root/usr/austin/eval/compiler.go
diff options
context:
space:
mode:
authorAustin Clements <aclements@csail.mit.edu>2009-09-24 08:25:14 -0700
committerAustin Clements <aclements@csail.mit.edu>2009-09-24 08:25:14 -0700
commit90f1b948138c226c74616a4e625df1b1353f69a8 (patch)
treea2afa274d520850ed457f199049d320a4a5fff38 /usr/austin/eval/compiler.go
parent39117013ca364bd1b68a02a6e561824ebec21bff (diff)
downloadgolang-90f1b948138c226c74616a4e625df1b1353f69a8.tar.gz
Fix declared and not used errors and unused import errors in
the interpreter and update code to use ast.BasicDecl and multi-type switch. There are still a lot of "switch _ := x.(type)" that should make use of the new type switch syntax, but those will be a different CL. R=rsc APPROVED=rsc DELTA=58 (16 added, 23 deleted, 19 changed) OCL=34853 CL=34963
Diffstat (limited to 'usr/austin/eval/compiler.go')
-rw-r--r--usr/austin/eval/compiler.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/austin/eval/compiler.go b/usr/austin/eval/compiler.go
index 12cace9e0..f3c962c2b 100644
--- a/usr/austin/eval/compiler.go
+++ b/usr/austin/eval/compiler.go
@@ -6,7 +6,6 @@ package eval
import (
"fmt";
- "go/ast";
"go/scanner";
"go/token";
)