diff options
author | Daniel <kingdread@gmx.de> | 2020-05-04 15:25:33 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-05-04 15:25:33 +0200 |
commit | 74dc6574650a157ab57779dc633e140d020b792a (patch) | |
tree | 6543a81e0545b9acfeea64a63547c0f7aadf996c /src/fexpr/mod.rs | |
parent | 6afe5879579ad39397024fbdbe75ad3207ff50a1 (diff) | |
download | raidgrep-74dc6574650a157ab57779dc633e140d020b792a.tar.gz raidgrep-74dc6574650a157ab57779dc633e140d020b792a.tar.bz2 raidgrep-74dc6574650a157ab57779dc633e140d020b792a.zip |
add -class player filter
Diffstat (limited to 'src/fexpr/mod.rs')
-rw-r--r-- | src/fexpr/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fexpr/mod.rs b/src/fexpr/mod.rs index 2bdbfe7..452d66c 100644 --- a/src/fexpr/mod.rs +++ b/src/fexpr/mod.rs @@ -3,7 +3,7 @@ //! This module contains methods to parse a given string into an abstract filter tree, check its //! type and convert it to a [`Filter`][super::filters::Filter]. // Make it available in the grammar mod. -use super::{filters, FightOutcome, SearchField}; +use super::{filters, playerclass::PlayerClass, FightOutcome, SearchField}; use std::{error, fmt}; @@ -44,6 +44,8 @@ pub enum FErrorKind { InvalidTimestamp(#[from] chrono::format::ParseError), #[error("invalid boss name")] InvalidBoss, + #[error("invalid class name")] + InvalidClass, } /// Shortcut to create a new parser and parse the given input. |