Allow calling procedures defined later

This commit is contained in:
2025-04-01 13:04:14 +02:00
parent 013bf91fbd
commit a7b5e32d09
2 changed files with 66 additions and 61 deletions

View File

@ -46,6 +46,7 @@ namespace elna::gcc
std::shared_ptr<symbol_table> symbols;
std::unordered_map<std::string, tree> unresolved;
void declare_procedure(boot::procedure_definition *const definition);
tree build_label_decl(const char *name, location_t loc);
tree build_procedure_type(boot::procedure_type_expression& type);
void build_composite_type(const std::vector<boot::field_declaration>& fields,