update README.md

This commit is contained in:
z7zmey 2018-01-12 10:30:22 +02:00
parent 416d7f0959
commit ecad84833e

View File

@ -33,8 +33,8 @@ func main() {
src := bytes.NewBufferString(`<? echo "Hello world";`)
nodes, comments, positions := parser.Parse(src, "example.php")
visitor := visitor.Dumper{"", comments, positions}
nodes.Walk(visitor)
dumper := visitor.Dumper{"", comments, positions}
nodes.Walk(dumper)
}
```