aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2007-10-14 21:35:02 +0000
committerNicola Mettifogo2007-10-14 21:35:02 +0000
commitf9b8c8a0d42b03662c9cb7dcada89af1d832239b (patch)
tree2d5a928fe02bed4e6cd457212256d3c0df057a55
parent963e63d985a7ffe9c1ae8907470c764202e947fc (diff)
downloadscummvm-rg350-f9b8c8a0d42b03662c9cb7dcada89af1d832239b.tar.gz
scummvm-rg350-f9b8c8a0d42b03662c9cb7dcada89af1d832239b.tar.bz2
scummvm-rg350-f9b8c8a0d42b03662c9cb7dcada89af1d832239b.zip
Turned the 'unexpected keyword' warning into a debug message and added a nifty line number to aid debugging.
svn-id: r29222
-rw-r--r--engines/parallaction/parser_ns.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}