summaryrefslogtreecommitdiff
path: root/protoReformat.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-03 17:54:34 -0600
committerJeff Carr <[email protected]>2025-11-03 17:54:34 -0600
commit6e42220bb03724789c27efdaac35cca2d08a1a02 (patch)
treea6f08f42ddb4e75c07ece9d652ac462e80e300b3 /protoReformat.go
parent01cd36974b1f38264d2ff56b8c03c5103b78612c (diff)
renumber must exit like reformat or things don't workHEADv0.5.40v0.5.39masterdevel
Diffstat (limited to 'protoReformat.go')
-rw-r--r--protoReformat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/protoReformat.go b/protoReformat.go
index 77cc723..188bf66 100644
--- a/protoReformat.go
+++ b/protoReformat.go
@@ -576,8 +576,8 @@ func (msg *FormatMsg) formatVarLine(line string, dbg string) string {
}
msg.Counter += 1
if int(msg.Counter) != newint {
+ log.Info("COUNTER WAS WRONG", newint, id, vartype, varname, msg.Header)
// panic("you can't count")
- log.Info("counter is wrong", newint, id, msg.Header)
}
id = fmt.Sprintf("%d", msg.Counter)
}