remove meta.BackquoteToken
This commit is contained in:
@@ -1545,7 +1545,6 @@ func (p *Printer) printExprShellExec(n node.Node) {
|
||||
nn := n.(*expr.ShellExec)
|
||||
p.printMeta(nn, meta.NodeStart)
|
||||
|
||||
p.printMeta(nn, meta.BackquoteToken)
|
||||
io.WriteString(p.w, "`")
|
||||
for _, part := range nn.Parts {
|
||||
p.Print(part)
|
||||
|
||||
@@ -4175,7 +4175,7 @@ func TestPrinterPrintShellExec(t *testing.T) {
|
||||
&meta.Data{
|
||||
Type: meta.WhiteSpaceType,
|
||||
Value: " ",
|
||||
TokenName: meta.BackquoteToken,
|
||||
TokenName: meta.NodeStart,
|
||||
},
|
||||
},
|
||||
Parts: []node.Node{
|
||||
|
||||
Reference in New Issue
Block a user