Improve API

This commit is contained in:
Krzosa Karol
2024-04-14 10:11:17 +02:00
parent 980e9de413
commit 44eb8be1db
22 changed files with 113 additions and 126 deletions

View File

@@ -115,7 +115,7 @@ void WASM_EXPORT(test)(void) {
LC_Intern name = LC_ILit("file");
LC_AddSingleFilePackage(name, LC_Lit("file.lc"));
LC_ASTRefList packages = LC_ResolvePackageByName(name);
LC_ASTRefList packages = LC_ParseAndResolve(name);
if (L->errors == 0) {
LC_BeginStringGen(L->arena);