Fixed constructor args

This commit is contained in:
2026-06-04 10:39:41 +02:00
parent a4df59927e
commit 7a5e03afd6
6 changed files with 57 additions and 30 deletions
+8
View File
@@ -77,6 +77,14 @@ macro_rules! ast_expr {
analyzer.build(v)
}};
(( $($v:expr),* $(,)? )) => {{
let mut analyzer = $crate::error::AstErrorAnalyzer(None);
let v = ( $(analyzer.get($v).get()?),* );
analyzer.build(v)
}};
($($item:ident)::+) => {
$($item)::+
};