rename php7 parser

This commit is contained in:
z7zmey
2018-01-17 19:16:06 +02:00
parent 76df2ba69b
commit f6911a76b1
5 changed files with 496 additions and 497 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -23,7 +23,7 @@ var comments comment.Comments
var positions position.Positions
var positionBuilder position.Builder
func Parse(src io.Reader, fName string) (node.Node, comment.Comments, position.Positions) {
func ParsePhp7(src io.Reader, fName string) (node.Node, comment.Comments, position.Positions) {
yyDebug = 0
yyErrorVerbose = true
rootnode = stmt.NewStmtList([]node.Node{}) //reset