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_lexer.l | |
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 'src/LuaSL/LuaSL_lexer.l')
-rw-r--r-- | src/LuaSL/LuaSL_lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LuaSL/LuaSL_lexer.l b/src/LuaSL/LuaSL_lexer.l index 85b2821..9d58899 100644 --- a/src/LuaSL/LuaSL_lexer.l +++ b/src/LuaSL/LuaSL_lexer.l | |||
@@ -113,7 +113,7 @@ STRING \"(\\.|[^\\"\n])*\" | |||
113 | <<EOF>> { return common(yylval, yytext, yyleng, yyextra, TRUE, LSL_SCRIPT); } | 113 | <<EOF>> { return common(yylval, yytext, yyleng, yyextra, TRUE, LSL_SCRIPT); } |
114 | 114 | ||
115 | /* Everything else */ | 115 | /* Everything else */ |
116 | . %{ printf(" unexpected character.\n"); yylval->value.stringValue = eina_stringshare_add_length(yytext, yyleng); common(yylval, yytext, yyleng, yyextra, TRUE, LSL_UNKNOWN); %} | 116 | . %{ if (COMPILE_OUTPUT) printf(" unexpected character '%s'.\n", yytext); yylval->value.stringValue = eina_stringshare_add_length(yytext, yyleng); common(yylval, yytext, yyleng, yyextra, TRUE, LSL_UNKNOWN); %} |
117 | 117 | ||
118 | %% | 118 | %% |
119 | 119 | ||