diff options
author | David Walter Seikel | 2014-08-14 14:11:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-08-14 14:11:58 +1000 |
commit | ab6b1318f3dd335ef49aa46146c43a51037675b7 (patch) | |
tree | 1946581d4452a07bce1fb400d3b729af70597fda /src/LuaSL/LuaSL_main.c | |
parent | Use the new message saving stuff in the parser as well. (diff) | |
download | SledjHamr-ab6b1318f3dd335ef49aa46146c43a51037675b7.zip SledjHamr-ab6b1318f3dd335ef49aa46146c43a51037675b7.tar.gz SledjHamr-ab6b1318f3dd335ef49aa46146c43a51037675b7.tar.bz2 SledjHamr-ab6b1318f3dd335ef49aa46146c43a51037675b7.tar.xz |
Clean up the compiler output. Threaded compiling is much faster when it's not outputting to the console.
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/LuaSL/LuaSL_main.c b/src/LuaSL/LuaSL_main.c index 1eaa43a..0ffc679 100644 --- a/src/LuaSL/LuaSL_main.c +++ b/src/LuaSL/LuaSL_main.c | |||
@@ -186,10 +186,12 @@ static void _compileCb(LuaCompiler *compiler) | |||
186 | 186 | ||
187 | EINA_CLIST_FOR_EACH_ENTRY_SAFE(message, safe, &(compiler->messages), compileMessage, node) | 187 | EINA_CLIST_FOR_EACH_ENTRY_SAFE(message, safe, &(compiler->messages), compileMessage, node) |
188 | { | 188 | { |
189 | #if COMPILE_OUTPUT | ||
189 | if (message->type) | 190 | if (message->type) |
190 | sendBack(compiler->client, compiler->SID, "compilerError(%d,%d,%s)", message->line, message->column, message->message); | 191 | sendBack(compiler->client, compiler->SID, "compilerError(%d,%d,%s)", message->line, message->column, message->message); |
191 | else | 192 | else |
192 | sendBack(compiler->client, compiler->SID, "compilerWarning(%d,%d,%s)", message->line, message->column, message->message); | 193 | sendBack(compiler->client, compiler->SID, "compilerWarning(%d,%d,%s)", message->line, message->column, message->message); |
194 | #endif | ||
193 | eina_clist_remove(&(message->node)); | 195 | eina_clist_remove(&(message->node)); |
194 | free(message); | 196 | free(message); |
195 | } | 197 | } |