Changeset 690 in svn for trunk/processor/string.m4


Ignore:
Timestamp:
2010-05-29T15:39:00Z (5 years ago)
Author:
Xuefer
Message:

fix build by avoing nested macro with ifdef

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/string.m4

    r662 r690  
    5959            ')
    6060        ')
    61         IFCALC(`xc_calc_string_n(processor, ISTYPE, SRCSTR, $3 IFASSERT(`, __LINE__'));')
    62         IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, SRCSTR, $3 IFASSERT(`, __LINE__')));')
     61        IFCALC(`xc_calc_string_n(processor, ISTYPE, SRCSTR, $3 C_RELAYLINE);')
     62        IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, SRCSTR, $3 C_RELAYLINE));')
    6363        IFRESTORE(`
    6464            DSTPTR = e`'U`'strndup(SRCPTR, ($3) - 1);
Note: See TracChangeset for help on using the changeset viewer.