aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/LuaSL/LuaSL_lemon_yaccer.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LuaSL/LuaSL_lemon_yaccer.y b/src/LuaSL/LuaSL_lemon_yaccer.y
index f03837e..2a23e84 100644
--- a/src/LuaSL/LuaSL_lemon_yaccer.y
+++ b/src/LuaSL/LuaSL_lemon_yaccer.y
@@ -229,19 +229,19 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
229 229
230%parse_failure 230%parse_failure
231{ 231{
232 compiler->script.bugCount++; 232 compiler->compiler->bugCount++;
233 PE("Giving up. Parser is hopelessly lost!"); 233 PE("Giving up. Parser is hopelessly lost!");
234} 234}
235 235
236%stack_overflow 236%stack_overflow
237{ 237{
238 compiler->script.bugCount++; 238 compiler->compiler->bugCount++;
239 PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens. 239 PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens.
240} 240}
241 241
242%syntax_error 242%syntax_error
243{ 243{
244 compiler->script.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} 246}
247 247