Removed foreign macros
Converted the function integration to use template metaprogramming instead of macros.
This commit is contained in:
@@ -157,6 +157,7 @@ pub fn main() {
|
||||
return macro_debug(premacro, sym);
|
||||
}
|
||||
let mut proc = premacro.build_process(Some(args.macro_limit)).unwrap();
|
||||
proc.validate_refs().unwrap();
|
||||
let main = interpreted::Clause::Constant(i.i(&main)).wrap();
|
||||
let ret = proc.run(main, None).unwrap();
|
||||
let interpreter::Return { gas, state, inert } = ret;
|
||||
|
||||
Reference in New Issue
Block a user