summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 5ed9080..451ffd5 100644
--- a/main.go
+++ b/main.go
@@ -133,7 +133,7 @@ func main() {
// parse sort & marshal options from the .proto file
// this goes through the .proto files and looks
// for `autogenpb: ` lines
- if err := findAutogenpb(sortmap); err != nil {
+ if err := pb.findAutogenpb(f); err != nil {
log.Info("autogenpb parse error:", err)
os.Exit(-1)
}
@@ -148,7 +148,7 @@ func main() {
os.Exit(-1)
}
pb.addMutex(f)
- os.Exit(0)
+ // os.Exit(0)
/*
// experiment to add a mutex to the structs.