#28 fix race conditions

This commit is contained in:
z7zmey
2018-06-06 19:47:28 +03:00
parent d72d3b7980
commit 58597aae21
6 changed files with 14 additions and 10 deletions

View File

@@ -22,6 +22,8 @@ bench:
go test -benchmem -bench=. ./php7
compile: ./php5/php5.go ./php7/php7.go ./scanner/scanner.go
sed -i '' -e 's/yyErrorVerbose = false/yyErrorVerbose = true/g' ./php7/php7.go
sed -i '' -e 's/yyErrorVerbose = false/yyErrorVerbose = true/g' ./php5/php5.go
rm -f y.output
./scanner/scanner.go: ./scanner/scanner.l