organic/src/parser/parser_with_context.rs

7 lines
157 B
Rust
Raw Normal View History

macro_rules! parser_with_context {
($target:ident) => {
move |context| move |i| $target(context, i)
};
}
pub(crate) use parser_with_context;