Changeset d83b266 for driver/cc1.cc


Ignore:
Timestamp:
Jul 26, 2021, 2:42:34 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0a061c0
Parents:
c86ee4c (diff), 98233b3 (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
  • driver/cc1.cc

    rc86ee4c rd83b266  
    1010// Created On       : Fri Aug 26 14:23:51 2005
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jun  1 23:07:21 2021
    13 // Update Count     : 415
     12// Last Modified On : Wed Jul 21 09:46:24 2021
     13// Update Count     : 419
    1414//
    1515
     
    372372                        if ( prefix( arg, "-fdiagnostics-color=" ) ) {
    373373                                string choice = arg.substr(20);
    374                                      if(choice == "always") color_arg = Color_Always;
    375                                 else if(choice == "never" ) color_arg = Color_Never;
    376                                 else if(choice == "auto" ) color_arg = Color_Auto;
     374                                if ( choice == "always" ) color_arg = Color_Always;
     375                                else if ( choice == "never" ) color_arg = Color_Never;
     376                                else if ( choice == "auto" ) color_arg = Color_Auto;
    377377                        } else if ( arg == "-fno-diagnostics-color" ) {
    378378                                color_arg = Color_Auto;
     
    587587                Stage2( argc, argv );
    588588        } else {
    589                 cerr << "Usage: " << argv[0] << " input-file [output-file] [options]" << endl;
     589                cerr << "Usage: " << argv[0] << " [-E input-file [output-file] ] | [-fpreprocessed input-file output-file] [options]" << endl;
    590590                exit( EXIT_FAILURE );
    591591        } // if
Note: See TracChangeset for help on using the changeset viewer.