Changeset 7812f1d1


Ignore:
Timestamp:
Jul 11, 2017, 9:35:20 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
8b47e50, f73f5f4
Parents:
20519b7
Message:

reduce scope of disabled warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/lex.ll

    r20519b7 r7812f1d1  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Tue Jul 11 21:20:23 2017
    13  * Update Count     : 533
     12 * Last Modified On : Tue Jul 11 21:30:51 2017
     13 * Update Count     : 534
    1414 */
    1515
     
    1818
    1919%{
    20 // Stop warning due to incorrectly generated flex code.
    21 #pragma GCC diagnostic ignored "-Wsign-compare"
    22 
    2320// This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been
    2421// performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g.,
     
    6259}
    6360
     61// Stop warning due to incorrectly generated flex code.
     62#pragma GCC diagnostic ignored "-Wsign-compare"
    6463%}
    6564
Note: See TracChangeset for help on using the changeset viewer.