forked from AbleOS/holey-bytes
fixed hbasm
This commit is contained in:
parent
0070016f74
commit
cbf4c6572a
|
@ -288,6 +288,7 @@ macro_rules! instructions {
|
||||||
($module:expr, $obj:expr $(,)?)
|
($module:expr, $obj:expr $(,)?)
|
||||||
{ $($opcode:expr, $mnemonic:ident, $ops:tt, $doc:literal;)* }
|
{ $($opcode:expr, $mnemonic:ident, $ops:tt, $doc:literal;)* }
|
||||||
) => {{
|
) => {{
|
||||||
|
paste::paste! {
|
||||||
let (module, obj) = ($module, $obj);
|
let (module, obj) = ($module, $obj);
|
||||||
$({
|
$({
|
||||||
// Object is shared across all functions
|
// Object is shared across all functions
|
||||||
|
@ -305,6 +306,7 @@ macro_rules! instructions {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
})*
|
})*
|
||||||
|
}
|
||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue