mirror of https://github.com/tbklang/tlang.git
parent
078a971a67
commit
e1e554d6ba
|
@ -34,7 +34,14 @@ struct compileCommand
|
||||||
void onExecute()
|
void onExecute()
|
||||||
{
|
{
|
||||||
writeln("Compiling source file: "~sourceFile);
|
writeln("Compiling source file: "~sourceFile);
|
||||||
beginCompilation([sourceFile]);
|
try
|
||||||
|
{
|
||||||
|
beginCompilation([sourceFile]);
|
||||||
|
}
|
||||||
|
catch(TError t)
|
||||||
|
{
|
||||||
|
gprintln(t.msg, DebugType.ERROR);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue