summaryrefslogtreecommitdiff
path: root/library/Core.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-06-23 00:25:30 +0200
committerPetr Mrázek2012-06-23 00:25:30 +0200
commit6199d6915cd6e2420dbcd84d09e1d4eb4833eeaf (patch)
tree5fcf9b959e0103227e9af735720eeee12636c311 /library/Core.cpp
parent2781723f7bf2bef87b7c6c5252aebd6392cbefbf (diff)
downloaddfhack-6199d6915cd6e2420dbcd84d09e1d4eb4833eeaf.tar.gz
dfhack-6199d6915cd6e2420dbcd84d09e1d4eb4833eeaf.tar.bz2
dfhack-6199d6915cd6e2420dbcd84d09e1d4eb4833eeaf.tar.xz
Nuke some error prints.
Diffstat (limited to 'library/Core.cpp')
-rw-r--r--library/Core.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/library/Core.cpp b/library/Core.cpp
index 620fc81d..8c8badf1 100644
--- a/library/Core.cpp
+++ b/library/Core.cpp
@@ -281,29 +281,20 @@ static command_result runLuaScript(color_ostream &out, std::string filename, vec
command_result Core::runCommand(color_ostream &out, const std::string &command)
{
- fprintf(stderr,"Inside runCommand");
- fprintf(stderr," with command %s\n",command.c_str());
if (!command.empty())
{
- fprintf(stderr,"Command is not empty, tokenizing\n");
vector <string> parts;
Core::cheap_tokenise(command,parts);
- fprintf(stderr,"Tokenized, got %d parts\n",parts.size());
if(parts.size() == 0)
return CR_NOT_IMPLEMENTED;
string first = parts[0];
- fprintf(stderr,"Erasing beginning\n");
parts.erase(parts.begin());
-
- fprintf(stderr,"I think we're about there\n");
if (first[0] == '#')
return CR_OK;
cerr << "Invoking: " << command << endl;
-
- fprintf(stderr,"Returning with the next recursion\n");
return runCommand(out, first, parts);
}
else