Changeset fb08280 for src/main.cc
- Timestamp:
- Jun 8, 2016, 12:58:01 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9e5f409
- Parents:
- efbca69 (diff), ac78e25 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/main.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
refbca69 rfb08280 9 9 // Author : Richard C. Bilson 10 10 // Created On : Fri May 15 23:12:02 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Fri May 06 15:59:09201613 // Update Count : 20 311 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jun 5 15:57:30 2016 13 // Update Count : 205 14 14 // 15 15 … … 182 182 case '?': 183 183 cout << "Unknown option: '" << (char)optopt << "'" << endl; 184 exit( 1);184 exit( EXIT_FAILURE ); 185 185 default: 186 186 abort(); … … 194 194 if ( ! input ) { 195 195 std::cout << "Error: can't open " << argv[ optind ] << std::endl; 196 exit( 1);196 exit( EXIT_FAILURE ); 197 197 } // if 198 198 // if running cfa-cpp directly, might forget to pass -F option (and really shouldn't have to) … … 220 220 if ( builtins == NULL ) { 221 221 std::cerr << "Error: can't open builtins.cf" << std::endl; 222 exit( 1);222 exit( EXIT_FAILURE ); 223 223 } // if 224 224 … … 230 230 if ( prelude == NULL ) { 231 231 std::cerr << "Error: can't open prelude.cf" << std::endl; 232 exit( 1);232 exit( EXIT_FAILURE ); 233 233 } // if 234 234
Note:
See TracChangeset
for help on using the changeset viewer.