diff --git a/hbbytecode/src/lib.rs b/hbbytecode/src/lib.rs index 80960a01..806e3f9a 100644 --- a/hbbytecode/src/lib.rs +++ b/hbbytecode/src/lib.rs @@ -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 } + }; + } } }