diff options
| author | Jeff Carr <[email protected]> | 2025-03-26 10:27:45 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-26 20:44:06 -0500 |
| commit | 2269ac2c275a9f38cde2c55a39bccf4c011659d0 (patch) | |
| tree | ecc4d223d1462c2cef96be8c6978dadef6bc6d6e /protoReformat.go | |
| parent | 255f08f81f35750f6ab5975175b5ee1fda8d027b (diff) | |
closer
Diffstat (limited to 'protoReformat.go')
| -rw-r--r-- | protoReformat.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protoReformat.go b/protoReformat.go index 87eaf1a..093a666 100644 --- a/protoReformat.go +++ b/protoReformat.go @@ -194,7 +194,10 @@ func getInceptionMsg(fmtmsg *FormatMsg) { newmsg.MaxVarname = fmtmsg.MaxVarname newmsg.MaxVartype = fmtmsg.MaxVartype newmsg.Header = line + getInceptionEnum(newmsg) fmtmsg.Enums = append(fmtmsg.Enums, newmsg) + // log.Info("got here:", line) + // os.Exit(-1) continue } if strings.HasPrefix(line, "message ") { @@ -203,6 +206,7 @@ func getInceptionMsg(fmtmsg *FormatMsg) { newmsg.MaxVarname = fmtmsg.MaxVarname newmsg.MaxVartype = fmtmsg.MaxVartype newmsg.Header = line + getInceptionMsg(newmsg) fmtmsg.InceptionMsgs = append(fmtmsg.InceptionMsgs, newmsg) continue } |
