Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2008, 2:56:39 AM (16 years ago)
Author:
landauf
Message:

removed some debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/CommandExecutor.cc

    r1188 r1189  
    376376    bool CommandExecutor::execute(const std::string& command)
    377377    {
    378 std::cout << "CE_execute: " << command << "\n";
    379378        if ((CommandExecutor::getEvaluation().processedCommand_ != command) || (CommandExecutor::getEvaluation().state_ == CS_Uninitialized))
    380 {std::cout << "CE_execute->parse\n";
    381             CommandExecutor::parse(command);}
     379            CommandExecutor::parse(command);
    382380
    383381        return CommandExecutor::execute(CommandExecutor::getEvaluation());
     
    387385    bool CommandExecutor::execute(const CommandEvaluation& evaluation)
    388386    {
     387std::cout << "CE_execute: " << evaluation.processedCommand_ << "\n";
    389388        SubString tokens(evaluation.processedCommand_, " ", SubString::WhiteSpaces, false, '\\', false, '"', false, '(', ')', false, '\0');
    390389
     
    637636    {
    638637        CommandExecutor::parse(command, true);
    639 std::cout << "1_1: " << command << std::endl;
     638
    640639        if (CommandExecutor::getEvaluation().tokens_.size() > 0)
    641640        {
     
    646645            CommandExecutor::getEvaluation().tokens_.append(SubString(lastToken, " "));
    647646        }
    648 std::cout << "1_2: " << CommandExecutor::getEvaluation().tokens_[CommandExecutor::getEvaluation().tokens_.size() - 1] << std::endl;
     647
    649648        CommandExecutor::getEvaluation().evaluateParams();
    650649        return CommandExecutor::getEvaluation();
Note: See TracChangeset for help on using the changeset viewer.