mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 10:14:10 +02:00
no more nom
This commit is contained in:
parent
19f9c9f973
commit
c79166cd03
6 changed files with 16 additions and 61 deletions
|
|
@ -227,7 +227,7 @@ impl EventParam {
|
|||
fn skip_after(&self) -> TokenStream {
|
||||
let skip_after = self.skip_after as usize;
|
||||
if skip_after > 0 {
|
||||
quote_spanned!(self.span() => let input = &input.get(#skip_after..).ok_or(nom::Err::Incomplete(nom::Needed::Unknown))?;)
|
||||
quote_spanned!(self.span() => let input = &input.get(#skip_after..).ok_or(Error::Incomplete)?;)
|
||||
} else {
|
||||
quote!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue