New fix #1

Merged
bilal.catic merged 16 commits from new-fix into master 2020-04-16 10:05:32 +02:00
Showing only changes of commit b2cdcfbd61 - Show all commits

View File

@@ -66,13 +66,13 @@ class Query < Racc::Parser
when (text = @ss.scan(/\)/))
action { return [:R_BRACKET, text] }
when (text = @ss.scan(/(?i)or/))
when (text = @ss.scan(/(?i)\bor\b/))
action { return [:OPERATOR_OR, text] }
when (text = @ss.scan(/(?i)and/))
when (text = @ss.scan(/(?i)\band\b/))
action { return [:OPERATOR_AND, text] }
when (text = @ss.scan(/(?i)not/))
when (text = @ss.scan(/(?i)\bnot\b/))
action { return [:OPERATOR_NOT, text] }
when (text = @ss.scan(/"([^"]*)"/))