diff --git a/src/parser/parser_with_context.rs b/src/parser/parser_with_context.rs index b9d94db..ddb12f0 100644 --- a/src/parser/parser_with_context.rs +++ b/src/parser/parser_with_context.rs @@ -13,3 +13,15 @@ // pub(crate) use parser_with_context; // use super::nom_context::NomContext; + +macro_rules! parser_with_context { + ($target:ident) => { + |context| { + |i| { + // todo + $target(i, context) + } + } + }; +} +pub(crate) use parser_with_context;