Author Topic: Redefinig macros in macros...  (Read 8157 times)

nobody

  • Guest
Redefinig macros in macros...
« on: February 14, 2006, 09:43:07 AM »
For example, we have macros that define something:

%macro DEFINE_ME 2
%define %1 %2
%endmacro

and then involving it several times for the same name:

DEFINE_ME name, value1

...

DEFINE_ME name, value2

The problem is that name at the second place beening expanded to value1 so macros expansion evaluates to  

%define value1 value2

But wishful result is:

%define name value2

Is there any way to solve this problem? Thanks.

nobody

  • Guest
Re: Redefinig macros in macros...
« Reply #1 on: February 14, 2006, 06:19:43 PM »
Check SF RFE #829879.