aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 18:28:19 +1000
committerDavid Walter Seikel2014-04-21 18:28:19 +1000
commit26df7205616dbcf80b60c1ed3c04ebea26975fe9 (patch)
tree7bc3851bf7eb3232367cdf8dc6894acf6cb51780 /LuaSL/src/LuaSL_lemon_yaccer.y
parentGuiLua uses LumbrJack and Runnr from the shared libraries directory at run ti... (diff)
downloadSledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.zip
SledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.tar.gz
SledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.tar.bz2
SledjHamr-26df7205616dbcf80b60c1ed3c04ebea26975fe9.tar.xz
Convert LuaSL to use LumbrJack.
Diffstat (limited to 'LuaSL/src/LuaSL_lemon_yaccer.y')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index 1ac3cc8..182789f 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -222,14 +222,14 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
222 222
223%parse_accept 223%parse_accept
224{ 224{
225// gameGlobals *game = compiler->game; 225// gameGlobals *ourGlobals = compiler->game;
226 226
227// PI("Parsing complete."); 227// PI("Parsing complete.");
228} 228}
229 229
230%parse_failure 230%parse_failure
231{ 231{
232 gameGlobals *game = compiler->game; 232 gameGlobals *ourGlobals = compiler->game;
233 233
234 compiler->script.bugCount++; 234 compiler->script.bugCount++;
235 PE("Giving up. Parser is hopelessly lost!"); 235 PE("Giving up. Parser is hopelessly lost!");
@@ -237,7 +237,7 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
237 237
238%stack_overflow 238%stack_overflow
239{ 239{
240 gameGlobals *game = compiler->game; 240 gameGlobals *ourGlobals = compiler->game;
241 241
242 compiler->script.bugCount++; 242 compiler->script.bugCount++;
243 PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens. 243 PE("Giving up. Parser stack overflow @ line %d, column %d!", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens.
@@ -245,7 +245,7 @@ expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
245 245
246%syntax_error 246%syntax_error
247{ 247{
248 gameGlobals *game = compiler->game; 248 gameGlobals *ourGlobals = compiler->game;
249 249
250 compiler->script.bugCount++; 250 compiler->script.bugCount++;
251 PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column); 251 PE("Syntax error @ line %d, column %d!", yyminor.yy0->line, yyminor.yy0->column);