Merge branch 'master' into refactoring

This commit is contained in:
Vadym Slizov
2020-07-04 18:41:12 +03:00
4 changed files with 6018 additions and 5859 deletions

View File

@@ -38,7 +38,7 @@ func (p *Parser) Error(msg string) {
if p.errHandlerFunc == nil {
return
}
var pos = p.currentToken.Position
p.errHandlerFunc(errors.NewError(msg, &pos))
}