Skip to content

Commit

Permalink
Closes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Jan 13, 2025
1 parent 36bcd80 commit 211b010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl Ast {
}
}

#[cfg(target_os = "none")]
pub fn check_all_calls_valid(&mut self) {
for function in self.functions.values() {
function.calls_ref().for_each(|c| {
Expand Down
2 changes: 1 addition & 1 deletion src/bin/yagbas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ pub fn do_ast(args: AstArgs) {
every_item.extend(items);
}
let mut ast = Ast::from_items(every_item);
//ast.check_all_calls_valid();
ast.check_all_calls_valid();
ast.run_const_eval();
ast.run_static_eval();
ast.resolve_size_of_static();
Expand Down

0 comments on commit 211b010

Please sign in to comment.