Refactor.

This commit is contained in:
Stephen Chung
2020-08-24 22:37:44 +08:00
parent 2fbc1b7910
commit 9ab3d87cfc
6 changed files with 85 additions and 74 deletions

View File

@@ -46,9 +46,9 @@ macro_rules! gen_cmp_functions {
}
macro_rules! reg_functions {
($mod_name:ident += $root:ident ; $($arg_type:ident),+) => {
$($mod_name.combine_flatten(exported_module!($root::$arg_type::functions));)*
}
($mod_name:ident += $root:ident ; $($arg_type:ident),+) => { $(
$mod_name.combine_flatten(exported_module!($root::$arg_type::functions));
)* }
}
def_package!(crate:LogicPackage:"Logical operators.", lib, {