fix a couple of bugs from the recent update.
R=rsc
http://codereview.appspot.com/1710042
diff --git a/compiler/generator/generator.go b/compiler/generator/generator.go
index c548332..d68d299 100644
--- a/compiler/generator/generator.go
+++ b/compiler/generator/generator.go
@@ -42,7 +42,6 @@
"log"
"os"
"strings"
- "unicode"
"goprotobuf.googlecode.com/hg/proto"
plugin "goprotobuf.googlecode.com/hg/compiler/plugin"
@@ -658,7 +657,7 @@
// We almost always need a proto import. Rather than computing when we
// do, which is tricky when there's a plugin, just import it and
// reference it later.
- g.P("import " + g.ProtoPkg + " " + Quote(g.ImportPrefix+"net/proto2/go/proto"))
+ g.P("import " + g.ProtoPkg + " " + Quote(g.ImportPrefix+"goprotobuf.googlecode.com/hg/proto"))
for _, s := range g.file.Dependency {
// Need to find the descriptor for this file
for _, fd := range g.allFiles {