Changeset 7215000 for src/main.cc
- Timestamp:
- Apr 16, 2020, 1:25:53 PM (3 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b5276fc
- Parents:
- 41af19c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r41af19c r7215000 443 443 444 444 445 static const char optstring[] = ":c:ghlLmNnp P:S:twW:D:";445 static const char optstring[] = ":c:ghlLmNnpdP:S:twW:D:"; 446 446 447 447 enum { PreludeDir = 128 }; … … 456 456 { "no-prelude", no_argument, nullptr, 'n' }, 457 457 { "prototypes", no_argument, nullptr, 'p' }, 458 { "deterministic-out", no_argument, nullptr, 'd' }, 458 459 { "print", required_argument, nullptr, 'P' }, 459 460 { "prelude-dir", required_argument, nullptr, PreludeDir }, … … 476 477 "do not read prelude", // -n 477 478 "generate prototypes for prelude functions", // -p 479 "don't print output that isn't deterministic", // -d 478 480 "print", // -P 479 481 "<directory> prelude directory for debug/nodebug", // no flag … … 580 582 genproto = true; 581 583 break; 584 case 'd': // don't print non-deterministic output 585 deterministic_output = true; 586 break; 582 587 case 'P': // print options 583 588 for ( int i = 0;; i += 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.