mirror of
https://github.com/MontFerret/ferret.git
synced 2025-11-06 08:39:09 +02:00
add comment
This commit is contained in:
@@ -13,6 +13,8 @@ type Parser struct {
|
||||
|
||||
func New(query string) *Parser {
|
||||
input := antlr.NewInputStream(query)
|
||||
// converts tokens to upper case, so now it doesn’t matter
|
||||
// in which case the tokens were entered
|
||||
upper := resources.NewCaseChangingStream(input, true)
|
||||
|
||||
lexer := fql.NewFqlLexer(upper)
|
||||
|
||||
Reference in New Issue
Block a user