remove meta.ListToken
This commit is contained in:
@@ -1400,7 +1400,6 @@ func (p *Printer) printExprList(n node.Node) {
|
||||
nn := n.(*expr.List)
|
||||
p.printMeta(nn, meta.NodeStart)
|
||||
|
||||
p.printMeta(nn, meta.ListToken)
|
||||
io.WriteString(p.w, "list")
|
||||
p.printMeta(nn, meta.OpenParenthesisToken)
|
||||
io.WriteString(p.w, "(")
|
||||
|
||||
@@ -3674,7 +3674,7 @@ func TestPrinterPrintList(t *testing.T) {
|
||||
&meta.Data{
|
||||
Type: meta.WhiteSpaceType,
|
||||
Value: " ",
|
||||
TokenName: meta.ListToken,
|
||||
TokenName: meta.NodeStart,
|
||||
},
|
||||
&meta.Data{
|
||||
Type: meta.WhiteSpaceType,
|
||||
|
||||
Reference in New Issue
Block a user