Changeset 357 in svn for branches/1.2


Ignore:
Timestamp:
2007-02-18T13:10:58Z (9 years ago)
Author:
Xuefer
Message:

trunk->1.2: merged [356] [342]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/processor/main.m4

    r302 r357  
    88
    99dnl {{{ basic
    10 define(`REDEF', `undefine(`$1') define(`$1', `$2')')
     10define(`REDEF', `ifdef(`$1', `undefine(`$1')') define(`$1', `$2')')
    1111define(`MAKE_MACRONAME', `translit(`$1', ` ():
    1212', `_____')')
     
    183183foreach(`i', `($2)', `pushdef(`item_'defn(`i'))undefine(`item_'defn(`i'))')dnl allocate variable for items in $2, and undefine it
    184184foreach(`i', `($1)', `ifdef(`item_'defn(`i'), `defn(`i') ')')dnl see what is still defined
    185 foreach(`i', `($2)', `popdef(`item_'defn(`i'))')dnl
     185foreach(`i', `($2)', `define(`item_'defn(`i'))popdef(`item_'defn(`i'))')dnl
    186186foreach(`i', `($1)', `popdef(`item_'defn(`i'))')dnl
    187187')
Note: See TracChangeset for help on using the changeset viewer.