aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index 4c8cf75..2ec890e 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -223,14 +223,14 @@ expr ::= LSL_LESS_THAN expr LSL_COMMA expr LSL_COMMA expr LSL_GREATER_THAN. [L
223{ 223{
224 gameGlobals *game = compiler->game; 224 gameGlobals *game = compiler->game;
225 225
226 PE("Giving up. Parser stack overflow @ line %04d column %04d.", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens. 226 PE("Giving up. Parser stack overflow @ line %d column %d.", yypMinor->yy0->line, yypMinor->yy0->column); // Gotta love consistancy, if it ever happens.
227} 227}
228 228
229%syntax_error 229%syntax_error
230{ 230{
231 gameGlobals *game = compiler->game; 231 gameGlobals *game = compiler->game;
232 232
233 PE("Syntax error @ line %04d column %04d.", yyminor.yy0->line, yyminor.yy0->column); 233 PE("Syntax error @ line %d column %d.", yyminor.yy0->line, yyminor.yy0->column);
234} 234}
235 235
236 236