diff options
Diffstat (limited to 'src/fexpr')
-rw-r--r-- | src/fexpr/grammar.lalrpop | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fexpr/grammar.lalrpop b/src/fexpr/grammar.lalrpop index 092407e..6333783 100644 --- a/src/fexpr/grammar.lalrpop +++ b/src/fexpr/grammar.lalrpop @@ -9,7 +9,7 @@ use super::{ DurationProducer, CountProducer, }; -use evtclib::Boss; +use evtclib::Encounter; use std::collections::HashSet; use lalrpop_util::ParseError; @@ -61,7 +61,7 @@ LogPredicate: Box<dyn filters::log::LogFilter> = { "-log-before" <Date> => filters::log::log_before(<>), "-log-after" <Date> => filters::log::log_after(<>), - "-boss" <Comma<Boss>> => filters::log::boss(<>), + "-boss" <Comma<Encounter>> => filters::log::encounter(<>), "-cm" => filters::log::challenge_mote(), "-include" => filters::constant(true), @@ -138,7 +138,7 @@ Weekday: Weekday = { }), } -Boss: Boss = { +Encounter: Encounter = { <l:@L> <w:word> =>? w.parse().map_err(|_| ParseError::User { error: FError { location: l, |