aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-02 14:05:15 +1000
committerDavid Walter Seikel2012-02-02 14:05:15 +1000
commite057040a77f31971b903685b4e95254e898b7fad (patch)
tree8b5c6d6c8688ffae836fe23f3c582b43f3a55cb1 /LuaSL/src/LuaSL_lemon_yaccer.y
parentZaro boogs! B-) (diff)
downloadSledjHamr-e057040a77f31971b903685b4e95254e898b7fad.zip
SledjHamr-e057040a77f31971b903685b4e95254e898b7fad.tar.gz
SledjHamr-e057040a77f31971b903685b4e95254e898b7fad.tar.bz2
SledjHamr-e057040a77f31971b903685b4e95254e898b7fad.tar.xz
Disable the diff check again, and count bugs instead.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index c225b26..9199699 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -223,6 +223,7 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
223{ 223{
224 gameGlobals *game = compiler->game; 224 gameGlobals *game = compiler->game;
225 225
226 compiler->script.bugCount++;
226 PE("Giving up. Parser is hopelessly lost!"); 227 PE("Giving up. Parser is hopelessly lost!");
227} 228}
228 229
@@ -230,6 +231,7 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
230{ 231{
231 gameGlobals *game = compiler->game; 232 gameGlobals *game = compiler->game;
232 233
234 compiler->script.bugCount++;
233 PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens. 235 PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens.
234} 236}
235 237
@@ -237,6 +239,7 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
237{ 239{
238 gameGlobals *game = compiler->game; 240 gameGlobals *game = compiler->game;
239 241
242 compiler->script.bugCount++;
240 PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column); 243 PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column);
241} 244}
242 245