Using new lexer by alecthomas! (#1270)

This commit is contained in:
Mike Farah
2022-07-13 14:45:28 +10:00
committed by GitHub
parent f393cf37c2
commit 03ba38eaff
10 changed files with 1239 additions and 701 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ type expressionParserImpl struct {
}
func newExpressionParser() ExpressionParserInterface {
return &expressionParserImpl{newExpressionTokeniser(), newExpressionPostFixer()}
return &expressionParserImpl{newParticipleLexer(), newExpressionPostFixer()}
}
func (p *expressionParserImpl) ParseExpression(expression string) (*ExpressionNode, error) {