feat(parser)!: rework of subgroups parsing

This commit is contained in:
2025-06-08 01:03:00 +04:00
parent d23092a32a
commit 4fca22662c
5 changed files with 139 additions and 141 deletions

View File

@@ -1,25 +1,21 @@
#[macro_export]
macro_rules! or_continue {
( $e:expr ) => {
{
if let Some(x) = $e {
x
} else {
continue;
}
( $e:expr ) => {{
if let Some(x) = $e {
x
} else {
continue;
}
}
}};
}
#[macro_export]
macro_rules! or_break {
( $e:expr ) => {
{
if let Some(x) = $e {
x
} else {
break;
}
( $e:expr ) => {{
if let Some(x) = $e {
x
} else {
break;
}
}
}
}};
}