Changeset 3fe34ae for src/main.cc
- Timestamp:
- Jan 12, 2017, 2:05:03 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 7cc2c8d, 981bdc6
- Parents:
- 0270824
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r0270824 r3fe34ae 66 66 nopreludep = false, 67 67 noprotop = false, 68 nomainp = false, 68 69 parsep = false, 69 70 resolvep = false, // used in AlternativeFinder … … 79 80 static void dump( list< Declaration * > & translationUnit, ostream & out = cout ); 80 81 82 bool translation_unit_nomain = true; 81 83 std::unique_ptr<FunctionDecl> translation_unit_main_signature = nullptr; 82 84 … … 157 159 158 160 parse_cmdline( argc, argv, filename ); // process command-line arguments 161 translation_unit_nomain = nomainp; 159 162 160 163 try { … … 375 378 376 379 int c; 377 while ( (c = getopt_long( argc, argv, "abBcefgl npqrstTvyzD:F:", long_opts, &long_index )) != -1 ) {380 while ( (c = getopt_long( argc, argv, "abBcefglmnpqrstTvyzD:F:", long_opts, &long_index )) != -1 ) { 378 381 switch ( c ) { 379 382 case Ast: … … 415 418 case 'p': // generate prototypes for preamble functions 416 419 noprotop = true; 420 break; 421 case 'm': // don't replace the main 422 nomainp = true; 417 423 break; 418 424 case Parse:
Note: See TracChangeset
for help on using the changeset viewer.