diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -108,16 +108,10 @@ func main() { protobase := strings.TrimSuffix(argv.Proto, ".proto") f.Filebase = protobase - // parse the .proto file - if err := pb.protoParse(f); err != nil { - log.Info("autogenpb parse error:", err) - os.Exit(-1) - } - // parse sort & marshal options from the .proto file // this goes through the .proto files and looks // for `autogenpb: ` lines - if err := pb.protoParseNew(f); err != nil { + if err := pb.protoParse(f); err != nil { log.Info("autogenpb parse error:", err) os.Exit(-1) } |
