From f9b8c8a0d42b03662c9cb7dcada89af1d832239b Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sun, 14 Oct 2007 21:35:02 +0000 Subject: Turned the 'unexpected keyword' warning into a debug message and added a nifty line number to aid debugging. svn-id: r29222 --- engines/parallaction/parser_ns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp index 3e03c3458e..4db31f29e7 100644 --- a/engines/parallaction/parser_ns.cpp +++ b/engines/parallaction/parser_ns.cpp @@ -75,7 +75,7 @@ namespace Parallaction { void Parallaction_ns::warning_unexpected() { - warning("unexpected keyword '%s'", _tokens[0]); + debugC(1, kDebugParser, "unexpected keyword '%s' in line %i", _tokens[0], _locParseCtxt.script->getLine()); } -- cgit v1.2.3