Corrects README example
This commit is contained in:
parent
063726aac4
commit
78d78ff74f
@ -156,7 +156,7 @@ nodes := &stmt.StmtList{
|
||||
|
||||
file := os.Stdout
|
||||
p := printer.NewPrinter(file, " ")
|
||||
p.PrintFile(nodes)
|
||||
p.Print(nodes)
|
||||
```
|
||||
|
||||
It prints to stdout:
|
||||
|
Loading…
x
Reference in New Issue
Block a user