Changed macro param

trunk
Erin 2024-01-07 00:34:28 +01:00
parent e9e1242743
commit 8374dfe20a
1 changed files with 5 additions and 5 deletions

View File

@ -77,11 +77,11 @@ unsafe impl BytecodeItem for u8 {}
/// | D | 8 | Immediate |
/// ```
#[macro_export]
macro_rules! invoke_with_def {
($macro:path) => {
$macro! { $spec }
};
}
macro_rules! invoke_with_def {
($($macro:tt)*) => {
$($macro)*! { $spec }
};
}
}
}