Fix builds.

This commit is contained in:
Stephen Chung
2020-11-22 17:32:10 +08:00
parent 07fe132e1a
commit 9edd494000
2 changed files with 3 additions and 1 deletions

View File

@@ -140,9 +140,12 @@ fn main() {
.gen_fn_signatures(false)
.into_iter()
.for_each(|f| println!("{}", f));
#[cfg(not(feature = "no_functions"))]
main_ast
.iter_functions()
.for_each(|(_, _, _, _, f)| println!("{}", f));
println!();
continue;
}