Corrects README example

This commit is contained in:
Jesse Donat
2018-06-17 21:16:05 -05:00
committed by GitHub
parent 063726aac4
commit 78d78ff74f

View File

@@ -156,7 +156,7 @@ nodes := &stmt.StmtList{
file := os.Stdout
p := printer.NewPrinter(file, " ")
p.PrintFile(nodes)
p.Print(nodes)
```
It prints to stdout: