diff --git a/grammar/query.pp b/grammar/query.pp index ef6746fa13..da9da96e4d 100644 --- a/grammar/query.pp +++ b/grammar/query.pp @@ -41,7 +41,13 @@ #query: ::space::? primary()? ::space::? + | catch_all() +catch_all: + ( + | + | keyword() + | symbol() #text )* // Boolean operators @@ -101,13 +107,9 @@ term: // Free text handling text: - string_keyword_symbol() - ( ? string_keyword_symbol() )* - ( ::space::? context_block() )? - -string_keyword_symbol: string() - | symbol() + ( ? string() )* + ( ::space::? context_block() )? context_block: ::parenthese_:: ::space::? context() ::space::? ::_parenthese:: #context