mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Reformat x:y as x: y
This commit is contained in:
1 parent
a9ea63ff06
commit
5b4e3647c0
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ func (n *Expr) appendStr(buf []byte, tm *t.Map, parenthesize bool, depth uint32)
|
|||||||
buf = append(buf, ", "...)
|
buf = append(buf, ", "...)
|
||||||
}
|
}
|
||||||
buf = append(buf, tm.ByID(o.AsArg().Name())...)
|
buf = append(buf, tm.ByID(o.AsArg().Name())...)
|
||||||
buf = append(buf, ':')
|
buf = append(buf, ": "...)
|
||||||
buf = o.AsArg().Value().appendStr(buf, tm, false, depth)
|
buf = o.AsArg().Value().appendStr(buf, tm, false, depth)
|
||||||
}
|
}
|
||||||
buf = append(buf, ')')
|
buf = append(buf, ')')
|
||||||
|
|||||||
@@ -1185,5 +1185,4 @@ var isTightRight = [...]bool{
|
|||||||
IDDot: true,
|
IDDot: true,
|
||||||
IDExclam: true,
|
IDExclam: true,
|
||||||
IDQuestion: true,
|
IDQuestion: true,
|
||||||
IDColon: true,
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user