[Templates] How to report on non-existent macros?
Dave Howorth
dhoworth@mrc-lmb.cam.ac.uk
Mon, 30 Apr 2007 13:05:04 +0100
Mark Anthony wrote:
> Hi,
>
> Another newbie question. I found the MACRO directive, and it does what I
> need: replacing a collection of macros into multiple lines. Each macro
> gets replaced by 2 to 5 lines, so I put all the macros into 1 file and
> then [% PROCESS ... %] to pull in the macro-definition file.
>
> This works great. Then I got a question from another user which I can't
> seem to find an answer to: What if the user mistyped the name of a
> macro? Can I get some kind of error for an undefined macro?
You may be able to use DEBUG_UNDEF.
Cheers, Dave