From 2269ac2c275a9f38cde2c55a39bccf4c011659d0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 26 Mar 2025 10:27:45 -0500 Subject: [PATCH] closer --- protoReformat.go | 4 ++++ 1 file changed, 4 insertions(+) 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 }