forked from Orchid/orchid
Also fixed the name collector, and lambda parameters are no longer resolved at parsing to support planned macro-based pattern matching. The rule matcher clones a lot, the number of clones could be zero.
6 lines
134 B
Rust
6 lines
134 B
Rust
#[macro_export]
|
|
macro_rules! unwrap_or_continue {
|
|
($m:expr) => {
|
|
{ if let Some(res) = ($m) {res} else {continue} }
|
|
}
|
|
} |