mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
Rename $(etc) to [etc]
This commit is contained in:
1 parent
4e7ef5fb88
commit
c1af1e2c82
14 files changed
+44
-42
No files matched your search
+3
-3
@@ -126,15 +126,15 @@ func (n *Expr) appendStr(buf []byte, tm *t.Map, parenthesize bool, depth uint32)
|
||||
buf = append(buf, '.')
|
||||
buf = append(buf, tm.ByID(n.id2)...)
|
||||
|
||||
case t.IDDollar:
|
||||
buf = append(buf, "$("...)
|
||||
case t.IDComma:
|
||||
buf = append(buf, '[')
|
||||
for i, o := range n.list0 {
|
||||
if i != 0 {
|
||||
buf = append(buf, ", "...)
|
||||
}
|
||||
buf = o.AsExpr().appendStr(buf, tm, false, depth)
|
||||
}
|
||||
buf = append(buf, ')')
|
||||
buf = append(buf, ']')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user