7 lines
166 B
Rust
7 lines
166 B
Rust
macro_rules! parser_with_context {
|
|
($target:ident) => {
|
|
move |mut context| move |i| $target(i, &mut context)
|
|
};
|
|
}
|
|
pub(crate) use parser_with_context;
|