Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/lex.ll

    rd3b5a14 r1f652a7  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Sat Jun 19 15:23:05 2021
    13  * Update Count     : 758
     12 * Last Modified On : Thu Apr  1 13:22:31 2021
     13 * Update Count     : 754
    1414 */
    1515
     
    117117hex_constant {hex_prefix}{hex_digits}{integer_suffix_opt}
    118118
    119                                 // GCC: floating D (double), imaginary iI, and decimal floating DF, DD, DL
     119                                // GCC: D (double) and iI (imaginary) suffixes, and DL (long double)
    120120exponent "_"?[eE]"_"?[+-]?{decimal_digits}
    121121floating_size 16|32|32x|64|64x|80|128|128x
    122122floating_length ([fFdDlLwWqQ]|[fF]{floating_size})
    123123floating_suffix ({floating_length}?[iI]?)|([iI]{floating_length})
    124 decimal_floating_suffix [dD][fFdDlL]
    125 floating_suffix_opt ("_"?({floating_suffix}|{decimal_floating_suffix}))?
     124floating_suffix_opt ("_"?({floating_suffix}|"DL"))?
    126125decimal_digits ({decimal})|({decimal}({decimal}|"_")*{decimal})
    127126floating_decimal {decimal_digits}"."{exponent}?{floating_suffix_opt}
     
    235234continue                { KEYWORD_RETURN(CONTINUE); }
    236235coroutine               { KEYWORD_RETURN(COROUTINE); }                  // CFA
    237 _Decimal32              { KEYWORD_RETURN(FLOAT); }                              // GCC
    238 _Decimal64              { KEYWORD_RETURN(DOUBLE); }                             // GCC
    239 _Decimal128             { KEYWORD_RETURN(uuFLOAT128); }                 // GCC
    240236default                 { KEYWORD_RETURN(DEFAULT); }
    241237disable                 { KEYWORD_RETURN(DISABLE); }                    // CFA
Note: See TracChangeset for help on using the changeset viewer.