1
0
Fork 0
forked from koniifer/ableos

Changed macro param

This commit is contained in:
Erin 2024-01-07 00:34:28 +01:00
parent e9e1242743
commit 8374dfe20a

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 }
};
}
}
}