dsl: fix descriptor macro when and_or() used
This commit is contained in:
parent
fbdee52f2f
commit
814ab4c855
@ -175,7 +175,7 @@ macro_rules! impl_node_opcode_two {
|
|||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! impl_node_opcode_three {
|
macro_rules! impl_node_opcode_three {
|
||||||
( $terminal_variant:ident, $( $inner:tt )* ) => {
|
( $terminal_variant:ident, $( $inner:tt )* ) => ({
|
||||||
use $crate::descriptor::CheckMiniscript;
|
use $crate::descriptor::CheckMiniscript;
|
||||||
|
|
||||||
let inner = $crate::fragment_internal!( @t $( $inner )* );
|
let inner = $crate::fragment_internal!( @t $( $inner )* );
|
||||||
@ -201,7 +201,7 @@ macro_rules! impl_node_opcode_three {
|
|||||||
|
|
||||||
Ok((minisc, a_keymap, networks))
|
Ok((minisc, a_keymap, networks))
|
||||||
})
|
})
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user