#28 fix race conditions
This commit is contained in:
@@ -56,9 +56,6 @@ func (l *Parser) Error(msg string) {
|
||||
|
||||
// Parse the php7 Parser entrypoint
|
||||
func (l *Parser) Parse() int {
|
||||
yyDebug = 0
|
||||
yyErrorVerbose = true
|
||||
|
||||
// init
|
||||
l.errors = nil
|
||||
l.rootNode = nil
|
||||
|
||||
@@ -1968,7 +1968,7 @@ var yyErrorMessages = [...]struct {
|
||||
|
||||
var (
|
||||
yyDebug = 0
|
||||
yyErrorVerbose = false
|
||||
yyErrorVerbose = true
|
||||
)
|
||||
|
||||
type yyLexer interface {
|
||||
|
||||
Reference in New Issue
Block a user