dsl: fix descriptor macro when and_or() used

This commit is contained in:
Evgenii P 2021-07-03 13:51:43 +07:00
parent fbdee52f2f
commit 814ab4c855
No known key found for this signature in database
GPG Key ID: 46717E4E65912EF7

View File

@ -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)]