refactor php7parser

This commit is contained in:
z7zmey
2018-01-25 17:42:15 +02:00
parent b93d24f95f
commit 1a045403db
4 changed files with 495 additions and 495 deletions

View File

@@ -1,6 +1,6 @@
PHPFILE=example.php
all: ./parser/php7.go ./scanner/scanner.go
all: ./php7parser/parser.go ./scanner/scanner.go
rm -f y.output
gofmt -l -s -w *.go
go build
@@ -14,5 +14,5 @@ test: all
./scanner/scanner.go: ./scanner/scanner.l
golex -o $@ $<
./parser/php7.go: ./parser/php7.y
./php7parser/parser.go: ./php7parser/parser.y
goyacc -o $@ $<