Changeset fb08280 for src/main.cc


Ignore:
Timestamp:
Jun 8, 2016, 12:58:01 PM (10 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    refbca69 rfb08280  
    99// Author           : Richard C. Bilson
    1010// Created On       : Fri May 15 23:12:02 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Fri May 06 15:59:09 2016
    13 // Update Count     : 203
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Sun Jun  5 15:57:30 2016
     13// Update Count     : 205
    1414//
    1515
     
    182182                  case '?':
    183183                        cout << "Unknown option: '" << (char)optopt << "'" << endl;
    184                         exit(1);
     184                        exit( EXIT_FAILURE );
    185185                  default:
    186186                        abort();
     
    194194                        if ( ! input ) {
    195195                                std::cout << "Error: can't open " << argv[ optind ] << std::endl;
    196                                 exit( 1 );
     196                                exit( EXIT_FAILURE );
    197197                        } // if
    198198                        // if running cfa-cpp directly, might forget to pass -F option (and really shouldn't have to)
     
    220220                        if ( builtins == NULL ) {
    221221                                std::cerr << "Error: can't open builtins.cf" << std::endl;
    222                                 exit( 1 );
     222                                exit( EXIT_FAILURE );
    223223                        } // if
    224224
     
    230230                                if ( prelude == NULL ) {
    231231                                        std::cerr << "Error: can't open prelude.cf" << std::endl;
    232                                         exit( 1 );
     232                                        exit( EXIT_FAILURE );
    233233                                } // if
    234234
Note: See TracChangeset for help on using the changeset viewer.