From d1f277892ec127b1fb83ad56de59b29c32695661 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 21 Apr 2020 14:03:13 +0200 Subject: add "or" and "and" to the list of tokens Otherwise they'd get tokenized as word and we couldn't build conjunctions/disjunctions. --- src/fexpr/grammar.lalrpop | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/fexpr/grammar.lalrpop b/src/fexpr/grammar.lalrpop index 4e6ac89..f559ff1 100644 --- a/src/fexpr/grammar.lalrpop +++ b/src/fexpr/grammar.lalrpop @@ -153,6 +153,8 @@ Comma: HashSet = { match { "player" => "player", "not" => "not", + "or" => "or", + "and" => "and", "any" => "any", "all" => "all", "exists" => "exists", -- cgit v1.2.3