diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 15:03:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 15:03:05 -0600 |
| commit | ff1721c250420fb4f1ce24f13d2e20721e40a07b (patch) | |
| tree | 3a61ac908c628077368ad27158746b726f0a5659 /main.go | |
| parent | e725c0cc8011ab6d2c418f83d9b86c7897fabef4 (diff) | |
compiles again
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) } |
