Changeset 1179:d7e25df22e88 in lemon-main
- Timestamp:
- 10/15/18 23:39:22 (6 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/arg_parser.cc
r877 r1179 222 222 { 223 223 Opts::iterator o = _opts.find(opt); 224 Opts::iterator s = _opts.find(syn);225 224 LEMON_ASSERT(o!=_opts.end(), "Unknown option: '"+opt+"'"); 226 LEMON_ASSERT(s==_opts.end(), "Option already used: '"+syn+"'"); 225 LEMON_ASSERT(_opts.find(syn)==_opts.end(), 226 "Option already used: '"+syn+"'"); 227 227 ParData p; 228 228 p.help=opt; -
tools/dimacs-to-lgf.cc
r584 r1179 74 74 throw IoError("Cannot open the file for writing", ap.files()[1]); 75 75 } 76 // fall through 76 77 case 1: 77 78 input.open(ap.files()[0].c_str()); … … 79 80 throw IoError("File cannot be found", ap.files()[0]); 80 81 } 82 // fall through 81 83 case 0: 82 84 break;
Note: See TracChangeset
for help on using the changeset viewer.