diff --git a/rules/ast/printer.go b/rules/ast/printer.go index a887cfd30b..7e8a08d49c 100644 --- a/rules/ast/printer.go +++ b/rules/ast/printer.go @@ -279,7 +279,7 @@ func (node *MatrixLiteral) NodeTreeToDotGraph() string { } func (node *StringLiteral) NodeTreeToDotGraph() string { - return fmt.Sprintf("%#p[label=\"'%v'\"];\n", node.str, node.str) + return fmt.Sprintf("%#p[label=\"'%v'\"];\n", node, node.str) } func (node *StringFunctionCall) NodeTreeToDotGraph() string {