mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
Refactored how logging works
Made it central reusable logic. No longer needs to be passed around, opened or closed.
This commit is contained in:
@@ -45,7 +45,7 @@ namespace LX_Build
|
||||
LX_API.Init();
|
||||
|
||||
// Generates LLVM IR with the example files //
|
||||
if (LX_API.GenIR("example/main.lx", "example/main.ll", "example/log") != 0)
|
||||
if (LX_API.GenIR("example/main.lx", "example/main.ll") != 0)
|
||||
{
|
||||
// Quits if the IR Generation fails //
|
||||
// The C++ script handles all of the error message outputting //
|
||||
|
||||
Reference in New Issue
Block a user