organic/src/parser/parser_with_context.rs
2022-07-16 21:37:08 -04:00

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;