macro_rules! custom_check {
($i:expr, $cond:expr, $err:expr) => { ... };
}
Expand description
Helper macro for nom parsers: raise error if the condition is true
This macro is used when using custom errors
macro_rules! custom_check {
($i:expr, $cond:expr, $err:expr) => { ... };
}
Helper macro for nom parsers: raise error if the condition is true
This macro is used when using custom errors