Backout some rubbish from chageset 7cd965d2257f
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 18 Apr 2008 06:20:32 +0100
changeset 137483bc6ed7292
parent 136 b82dc494bafc
child 138 a0f755a30cf1
child 141 96f81c791f0c
child 150 f3af90ef0143
Backout some rubbish from chageset 7cd965d2257f
demo/arg_parser_demo.cc
lemon/arg_parser.cc
     1.1 --- a/demo/arg_parser_demo.cc	Thu Apr 17 19:33:19 2008 +0200
     1.2 +++ b/demo/arg_parser_demo.cc	Fri Apr 18 06:20:32 2008 +0100
     1.3 @@ -46,7 +46,7 @@
     1.4      .refOption("grb","Choice B",g2)
     1.5      .refOption("grc","Choice C",g3)
     1.6      .optionGroup("gr","gra")
     1.7 -    .optionGroup("gr","grbkk")
     1.8 +    .optionGroup("gr","grb")
     1.9      .optionGroup("gr","grc")
    1.10      .mandatoryGroup("gr")
    1.11      .onlyOneGroup("gr")
     2.1 --- a/lemon/arg_parser.cc	Thu Apr 17 19:33:19 2008 +0200
     2.2 +++ b/lemon/arg_parser.cc	Fri Apr 18 06:20:32 2008 +0100
     2.3 @@ -194,7 +194,6 @@
     2.4    {
     2.5      Opts::iterator i = _opts.find(opt);
     2.6      LEMON_ASSERT(i!=_opts.end(), "Unknown option: '"+opt+"'");
     2.7 -    if(i==_opts.end()) std::cout << "JAJJJJJJJJ\n";
     2.8      LEMON_ASSERT(!(i->second.ingroup), 
     2.9                   "Option already in option group: '"+opt+"'");
    2.10      GroupData &g=_groups[group];