Small changes

This commit is contained in:
Pasha Bibko
2025-05-04 20:12:44 +01:00
parent f88c1e0455
commit a16ce34c8b
6 changed files with 97 additions and 18 deletions

View File

@@ -55,6 +55,8 @@ namespace LX
// Loops over the functions to generate their LLVM IR //
for (auto& func : ast.functions)
{
std::cout << "\t|\t|- Generating function: " << func.name << "\n";
LLVM.scope = &func.scope; // Sets the current scope for the builder
GenerateFunctionIR(func, LLVM);
}