diff options
author | Willem Jan Palenstijn | 2010-01-30 11:59:05 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-01-30 11:59:05 +0000 |
commit | 06bd17ee712f06971273d526f389f9a352f3e8ec (patch) | |
tree | 6396a8c4bdc706116532c555bd936c048a0b65c1 /engines/sci/engine/kparse.cpp | |
parent | 9449585893e72156579707f0f377527c6253be5f (diff) | |
download | scummvm-rg350-06bd17ee712f06971273d526f389f9a352f3e8ec.tar.gz scummvm-rg350-06bd17ee712f06971273d526f389f9a352f3e8ec.tar.bz2 scummvm-rg350-06bd17ee712f06971273d526f389f9a352f3e8ec.zip |
SCI: Remove extra '\n's in debugC messages
svn-id: r47707
Diffstat (limited to 'engines/sci/engine/kparse.cpp')
-rw-r--r-- | engines/sci/engine/kparse.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/kparse.cpp b/engines/sci/engine/kparse.cpp index fee6a171ee..4423b6928e 100644 --- a/engines/sci/engine/kparse.cpp +++ b/engines/sci/engine/kparse.cpp @@ -105,10 +105,10 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) { s->r_acc = make_reg(0, 1); #ifdef DEBUG_PARSER - debugC(2, kDebugLevelParser, "Parsed to the following blocks:\n", 0); + debugC(2, kDebugLevelParser, "Parsed to the following blocks:", 0); for (ResultWordList::const_iterator i = words.begin(); i != words.end(); ++i) - debugC(2, kDebugLevelParser, " Type[%04x] Group[%04x]\n", i->_class, i->_group); + debugC(2, kDebugLevelParser, " Type[%04x] Group[%04x]", i->_class, i->_group); #endif int syntax_fail = voc->parseGNF(words); @@ -120,7 +120,7 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) { invoke_selector(INV_SEL(s->_gameObj, syntaxFail, kStopOnInvalidSelector), 2, s->_voc->parser_base, stringpos); /* Issue warning */ - debugC(2, kDebugLevelParser, "Tree building failed\n"); + debugC(2, kDebugLevelParser, "Tree building failed"); } else { s->_voc->parserIsValid = true; @@ -137,7 +137,7 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) { PUT_SEL32V(segMan, event, claimed, 1); if (error) { s->_segMan->strcpy(s->_voc->parser_base, error); - debugC(2, kDebugLevelParser, "Word unknown: %s\n", error); + debugC(2, kDebugLevelParser, "Word unknown: %s", error); /* Issue warning: */ invoke_selector(INV_SEL(s->_gameObj, wordFail, kStopOnInvalidSelector), 2, s->_voc->parser_base, stringpos); @@ -180,7 +180,7 @@ reg_t kSetSynonyms(EngineState *s, int argc, reg_t *argv) { byte *synonyms = s->_segMan->getScript(seg)->getSynonyms(); if (synonyms) { - debugC(2, kDebugLevelParser, "Setting %d synonyms for script.%d\n", + debugC(2, kDebugLevelParser, "Setting %d synonyms for script.%d", numSynonyms, script); if (numSynonyms > 16384) { @@ -203,7 +203,7 @@ reg_t kSetSynonyms(EngineState *s, int argc, reg_t *argv) { node = s->_segMan->lookupNode(node->succ); } - debugC(2, kDebugLevelParser, "A total of %d synonyms are active now.\n", numSynonyms); + debugC(2, kDebugLevelParser, "A total of %d synonyms are active now.", numSynonyms); return s->r_acc; } |