Changeset 7f6a7c9 for src/Parser/lex.ll


Ignore:
Timestamp:
Sep 21, 2022, 11:02:15 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
95dab9e
Parents:
428adbc (diff), 0bd46fd (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' into pthread-emulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/lex.ll

    r428adbc r7f6a7c9  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Sun Jun 20 18:41:09 2021
    13  * Update Count     : 759
     12 * Last Modified On : Tue Sep 20 21:18:55 2022
     13 * Update Count     : 762
    1414 */
    1515
     
    2424
    2525//**************************** Includes and Defines ****************************
     26
     27#ifdef __clang__
     28#pragma GCC diagnostic ignored "-Wnull-conversion"
     29#endif
    2630
    2731// trigger before each matching rule's action
     
    8286// Stop warning due to incorrectly generated flex code.
    8387#pragma GCC diagnostic ignored "-Wsign-compare"
    84 
    85 // lex uses __null in a boolean context, it's fine.
    86 #pragma GCC diagnostic ignored "-Wnull-conversion"
    8788%}
    8889
     
    314315switch                  { KEYWORD_RETURN(SWITCH); }
    315316thread                  { KEYWORD_RETURN(THREAD); }                             // C11
    316 _Thread_local   { KEYWORD_RETURN(THREADLOCAL); }                // C11
     317__thread                { KEYWORD_RETURN(THREADLOCALGCC); }             // GCC
     318_Thread_local   { KEYWORD_RETURN(THREADLOCALC11); }             // C11
    317319throw                   { KEYWORD_RETURN(THROW); }                              // CFA
    318320throwResume             { KEYWORD_RETURN(THROWRESUME); }                // CFA
Note: See TracChangeset for help on using the changeset viewer.