Changeset 1179 for trunk/yat/utility


Ignore:
Timestamp:
Feb 27, 2008, 8:31:19 PM (14 years ago)
Author:
Peter
Message:

remove debug code

Location:
trunk/yat/utility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Option.cc

    r1178 r1179  
    8484    present_=true;
    8585    do_parse(first, last);
    86     std::cerr << "parsed " << long_name() << std::endl;
    8786  }
    8887
     
    148147  void Option::validate()
    149148  {
    150     std::cerr << "validate: " << long_name() << std::endl;
    151149    do_validate();
    152150  }
  • trunk/yat/utility/OptionFile.cc

    r1178 r1179  
    4646  void OptionFile::do_validate2() const
    4747  {   
    48     std::cerr << "OptionFile:: do_validate2 " << std::endl;
    4948    if (!present())
    5049      return;
    5150    FileUtil fu(value().c_str());
    52     std::cerr << "check exist" << std::endl;
    5351    if (exist_ && !fu.exists()){
    5452      std::stringstream ss;
     
    5654      throw cmd_error(ss.str());
    5755    }
    58     std::cerr << "check perm" << std::endl;
    5956    if (fu.permissions(bits_)) {
    6057      // Peter, this loop is stupid but I wanna differentiate the error message
Note: See TracChangeset for help on using the changeset viewer.