Turned the 'unexpected keyword' warning into a debug message and added a nifty line number to aid debugging.

svn-id: r29222
This commit is contained in:
Nicola Mettifogo 2007-10-14 21:35:02 +00:00
parent 963e63d985
commit f9b8c8a0d4

View File

@ -75,7 +75,7 @@ namespace Parallaction {
void Parallaction_ns::warning_unexpected() { 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());
} }