mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Renamed Toy_ModuleBuilder to Toy_ModuleCompiler
I also noticed that Toy_ModuleBundle isn't being used right now.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "toy_module_bundle.h"
|
||||
#include "toy_console_colors.h"
|
||||
|
||||
#include "toy_module_builder.h"
|
||||
#include "toy_module_compiler.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -87,7 +87,7 @@ void Toy_appendModuleBundle(Toy_ModuleBundle* bundle, Toy_Ast* ast) {
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
void* module = Toy_compileModuleBuilder(ast);
|
||||
void* module = Toy_compileModule(ast);
|
||||
|
||||
//don't try writing an empty module
|
||||
if (module == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user