I'm writing a set of macros to emulate a high level programming language and I'm having some issues with recursive macros.
%macro params 1
%macro %1
%endmacro
That will %endmacro the macro whose name is %1, right? I need it to end the macro params. And I need something like the opposite:
%macro endfunction 0
%endmacro
%endmacro
Where the %endmacro on line 2 is placed into the text, not ending the macro endfunction. Any thoughts?
Thanks,
Troy