Changeset ccb776b for src


Ignore:
Timestamp:
Jul 12, 2020, 3:14:06 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
61ce214
Parents:
dbe8e31c
Message:

fix #if to elide int128 code for 32-bit build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ExpressionNode.cc

    rdbe8e31c rccb776b  
    1010// Created On       : Sat May 16 13:17:07 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Jul 12 08:15:12 2020
    13 // Update Count     : 1039
     12// Last Modified On : Sun Jul 12 11:55:44 2020
     13// Update Count     : 1040
    1414//
    1515
     
    186186        // Cannot be just "0"/"1"; sscanf stops at the suffix, if any; value goes over the wall => always generate
    187187
    188 #if __SIZEOF_POINTER__ == 8                                                             // 64-bit mode
     188#if __SIZEOF_POINTER__ == 4                                                             // 32-bit mode
    189189        if ( type == 5 ) SemanticError( yylloc, "int128 constant is not supported on this target " + str );
    190 #endif // 64-bit mode
     190#endif // 32-bit mode
    191191       
    192192        if ( str[0] == '0' ) {                                                          // radix character ?
Note: See TracChangeset for help on using the changeset viewer.