From 6afe5879579ad39397024fbdbe75ad3207ff50a1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 4 May 2020 15:17:43 +0200 Subject: exclude : from words again This causes issues with the player: prefix used in any() and all() constructs, as player: will now be parsed as a word instead of the proper token. For now, : is disallowed in words again until there is a better solution. --- src/fexpr/grammar.lalrpop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fexpr') diff --git a/src/fexpr/grammar.lalrpop b/src/fexpr/grammar.lalrpop index 55bd669..654722b 100644 --- a/src/fexpr/grammar.lalrpop +++ b/src/fexpr/grammar.lalrpop @@ -175,7 +175,7 @@ match { r"\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d" => datetime, r"\d\d\d\d-\d\d-\d\d" => date, - r"[\w:]+" => word, + r"[\w]+" => word, r#""[^"]*""# => string, _ -- cgit v1.2.3