Changeset 1380 in svn for trunk/processor/process.m4


Ignore:
Timestamp:
2013-09-22T14:45:46Z (2 years ago)
Author:
Xuefer
Message:

make use of SRC/DST widely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/process.m4

    r1372 r1380  
    7878')
    7979define(`PROCESS_ARRAY', `dnl {{{ (1:count, 2:type, 3:elm, [4:real_type])
    80     if (src->$3) {
     80    if (SRC(`$3')) {
    8181        int LOOPCOUNTER;
    8282        IFDASM(`
     
    8686
    8787            for (LOOPCOUNTER = 0;
    88                     ifelse(`$1', `', `src->$3[LOOPCOUNTER]',
     88                    ifelse(`$1', `', `SRC(`$3[LOOPCOUNTER]')',
    8989                    `', `', `LOOPCOUNTER < SRC(`$1')');
    9090                    ++LOOPCOUNTER) {
     
    117117            ',
    118118            `', `', `pushdef(`STRUCT_COUNT', `SRC(`$1')')')
    119             ALLOC(`dst->$3', `$2', `STRUCT_COUNT', , `$4')
     119            ALLOC(`DST(`$3')', `$2', `STRUCT_COUNT', , `$4')
    120120            popdef(`STRUCT_COUNT')
    121121
    122122            for (LOOPCOUNTER = 0;
    123                     ifelse(`$1', `', `src->$3[LOOPCOUNTER]',
     123                    ifelse(`$1', `', `SRC(`$3[LOOPCOUNTER]')',
    124124                    `', `', `LOOPCOUNTER < SRC(`$1')');
    125125                    ++LOOPCOUNTER) {
Note: See TracChangeset for help on using the changeset viewer.