refactor php7parser
This commit is contained in:
4
Makefile
4
Makefile
@@ -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 $@ $<
|
||||
|
||||
Reference in New Issue
Block a user