aboutsummaryrefslogtreecommitdiff
path: root/src/fexpr
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-04-25 13:22:00 +0200
committerDaniel <kingdread@gmx.de>2020-04-25 13:22:00 +0200
commit9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9 (patch)
tree63544e8764b55563a48d3f9fd530b0381f42a277 /src/fexpr
parent5dbea93266c3a30dac5ec6f5a7915d73a440f573 (diff)
downloadraidgrep-9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9.tar.gz
raidgrep-9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9.tar.bz2
raidgrep-9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9.zip
add -include and -exclude
Diffstat (limited to 'src/fexpr')
-rw-r--r--src/fexpr/grammar.lalrpop3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fexpr/grammar.lalrpop b/src/fexpr/grammar.lalrpop
index d8f64fa..58ec052 100644
--- a/src/fexpr/grammar.lalrpop
+++ b/src/fexpr/grammar.lalrpop
@@ -54,6 +54,9 @@ LogPredicate: Box<dyn filters::log::LogFilter> = {
"-boss" <Comma<Boss>> => filters::log::boss(<>),
+ "-include" => filters::constant(true),
+ "-exclude" => filters::constant(false),
+
"-player" <Regex> => filters::player::any(
filters::player::character(<>.clone())
| filters::player::account(<>)