diff options
author | Daniel <kingdread@gmx.de> | 2020-05-04 15:17:43 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-05-04 15:17:43 +0200 |
commit | 6afe5879579ad39397024fbdbe75ad3207ff50a1 (patch) | |
tree | 78681a5b168dee20e08a018a046b9abc51f041be /src/fexpr | |
parent | 9537ffb07dd80c408ae475308e748ad1831d6462 (diff) | |
download | raidgrep-6afe5879579ad39397024fbdbe75ad3207ff50a1.tar.gz raidgrep-6afe5879579ad39397024fbdbe75ad3207ff50a1.tar.bz2 raidgrep-6afe5879579ad39397024fbdbe75ad3207ff50a1.zip |
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.
Diffstat (limited to 'src/fexpr')
-rw-r--r-- | src/fexpr/grammar.lalrpop | 2 |
1 files changed, 1 insertions, 1 deletions
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, _ |