Changeset ce31925 for src/main.cc
- Timestamp:
- Sep 14, 2022, 2:14:37 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 25793da
- Parents:
- c36814a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rc36814a rce31925 623 623 624 624 625 static const char optstring[] = ":c:ghlLmNnpd OAP:S:twW:D:";625 static const char optstring[] = ":c:ghlLmNnpdP:S:twW:D:"; 626 626 627 627 enum { PreludeDir = 128 }; … … 637 637 { "prototypes", no_argument, nullptr, 'p' }, 638 638 { "deterministic-out", no_argument, nullptr, 'd' }, 639 { "old-ast", no_argument, nullptr, 'O'},640 { "new-ast", no_argument, nullptr, 'A'},641 639 { "print", required_argument, nullptr, 'P' }, 642 640 { "prelude-dir", required_argument, nullptr, PreludeDir }, … … 660 658 "do not generate prelude prototypes => prelude not printed", // -p 661 659 "only print deterministic output", // -d 662 "Use the old-ast", // -O663 "Use the new-ast", // -A664 660 "print", // -P 665 661 "<directory> prelude directory for debug/nodebug", // no flag … … 770 766 deterministic_output = true; 771 767 break; 772 case 'O': // don't print non-deterministic output773 useNewAST = false;774 break;775 case 'A': // don't print non-deterministic output776 useNewAST = true;777 break;778 768 case 'P': // print options 779 769 for ( int i = 0;; i += 1 ) {
Note: See TracChangeset
for help on using the changeset viewer.