Merge pull request #6 from antham/patch-1

Update README
This commit is contained in:
Vadym Slizov 2018-04-07 18:27:39 +03:00 committed by GitHub
commit 8b5f350f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ package main
import (
"bytes"
"os"
"github.com/z7zmey/php-parser/php7"
"github.com/z7zmey/php-parser/visitor"
@ -42,6 +43,7 @@ func main() {
nodes, comments, positions := php7.Parse(src, "example.php")
visitor := visitor.Dumper{
Writer: os.Stdout,
Indent: "",
Comments: comments,
Positions: positions,