Ignore:
Timestamp:
Nov 21, 2019, 1:03:17 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
49d3128
Parents:
665f432
Message:

Added --colors command line arguments to have more control on whether or not to print errors with colors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.h

    r665f432 r1a69a90  
    9797// Helpers
    9898namespace ErrorHelpers {
     99        enum class Colors {
     100                Never = false,
     101                Always = true,
     102                Auto,
     103        };
     104
     105        extern Colors colors;
     106
    99107        const std::string & error_str();
    100108        const std::string & warning_str();
Note: See TracChangeset for help on using the changeset viewer.