From ba57301e92831606a18289ec10c314edd756f311 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 14 Aug 2014 06:37:29 +1000 Subject: Considerable cleanup of the top level compiling code. --- src/LuaSL/LuaSL_lemon_yaccer.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/LuaSL/LuaSL_lemon_yaccer.y') 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; } %parse_failure { - compiler->script.bugCount++; + compiler->compiler->bugCount++; PE("Giving up. Parser is hopelessly lost!"); } %stack_overflow { - compiler->script.bugCount++; + compiler->compiler->bugCount++; PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens. } %syntax_error { - compiler->script.bugCount++; + compiler->compiler->bugCount++; PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column); } -- cgit v1.1