lang/parse: struct private data now needs a "+"

This commit is contained in:
Nigel Tao committed 2023-04-09 15:45:06 +10:00
1 parent f5eb38d76e
commit 49fa501f0d
13 files changed
+18 -12

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ func Render(w io.Writer, tm *t.Map, src []t.Token, comments []string) (err error
buf = appendTabs(buf, indent+indentAdjustment)
// Apply or update varNameLength.
if len(lineTokens) < 3 {
if len(lineTokens) < 4 {
varNameLength = 0
} else {
id0 := lineTokens[0].ID