aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/LuaSL/LuaSL_lemon_yaccer.y')
-rw-r--r--src/LuaSL/LuaSL_lemon_yaccer.y7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_lemon_yaccer.y b/src/LuaSL/LuaSL_lemon_yaccer.y
index 2a23e84..08fdccc 100644
--- a/src/LuaSL/LuaSL_lemon_yaccer.y
+++ b/src/LuaSL/LuaSL_lemon_yaccer.y
@@ -241,8 +241,11 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
241 241
242%syntax_error 242%syntax_error
243{ 243{
244 compiler->compiler->bugCount++; 244// compiler->compiler->bugCount++;
245 PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column); 245// PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column);
246 finishMessage(compiler->compiler, addMessage(&(compiler->compiler->messages), sizeof(compileMessage),
247 "Syntax error."),
248 1, yyminor.yy0->column, yyminor.yy0->line);
246} 249}
247 250
248 251