Streamline rhai_generate.

This commit is contained in:
Stephen Chung
2020-09-14 11:40:15 +08:00
committed by J Henry Waugh
parent 654da2db8a
commit 52298bd96c
2 changed files with 14 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ pub fn combine_with_exported_module(args: proc_macro::TokenStream) -> proc_macro
Err(e) => return e.to_compile_error().into(),
};
let tokens = quote! {
#module_path::rhai_generate_into_module(#module_expr);
#module_path::rhai_generate_into_module(#module_expr, true);
};
proc_macro::TokenStream::from(tokens)
}