forked from AbleOS/holey-bytes
Valider
parent
b43bc0ecbb
commit
d70f620c48
|
@ -90,7 +90,9 @@ macro_rules! gen_valider {
|
|||
$crate::gen_valider::inst_chk!(
|
||||
rest, $ityn, $($opcode),*
|
||||
)
|
||||
)|* => rest,
|
||||
)|*| $crate::gen_valider::inst_chk!(
|
||||
rest, bbb, BRC
|
||||
) => rest,
|
||||
|
||||
// The plebs
|
||||
_ => {
|
||||
|
|
|
@ -18,6 +18,9 @@ macro_rules! constmod {
|
|||
}
|
||||
|
||||
/// Invoke macro with bytecode definition format
|
||||
///
|
||||
/// Keep in mind BRC instruction is special-cased and you have to implement
|
||||
/// it manually.
|
||||
#[macro_export]
|
||||
macro_rules! invoke_with_def {
|
||||
($macro:path) => {
|
||||
|
|
Loading…
Reference in New Issue