On Mon, 2 Oct 2000, Jon Stevens wrote: > What happens if I do this: > > #macro (macro $foo) > yadda yadda yadda > #end > > or > > #macro (if $foo) > yadda yadda yadda > #end > > ? > > We need to consider these things if we are going to allow dynamic > directives. Only allow them to be defined once. So that core directives could not be overridden. The direcitves #if and #macro already exist so attempts to define them again would fail. That failure could be logged. So core directives would be safe, and if someone tried to define a macro with the same name twice only the first one would count. I'm working on a syntax checker a la 'perl -c' to check the validity of a template, so that could be another check: multiple definitions of macros. jvz. -- Jason van Zyl [EMAIL PROTECTED]
- Proposal for New Velocity Functionality Geir Magnusson Jr.
- Re: Proposal for New Velocity Functionality Jason van Zyl
- Re: Proposal for New Velocity Functionality Geir Magnusson Jr.
- Re: Proposal for New Velocity Functionality Jon Stevens
- Re: Proposal for New Velocity Functionality Geir Magnusson Jr.
- Re: Proposal for New Velocity Functionality Jason van Zyl
- Re: Proposal for New Velocity Functionality Fedor Karpelevitch
- Re: Proposal for New Velocity Functionality Jon Stevens
- Re: Proposal for New Velocity Functionalit... Fedor Karpelevitch
- Re: Proposal for New Velocity Function... Jon Stevens
- Re: Proposal for New Velocity Fun... Fedor Karpelevitch
- Re: Proposal for New Velocity... Jon Stevens
- Re: Proposal for New Velo... Tom Vaughan
- Re: Proposal for New Velo... Jon Stevens
- Re: Proposal for New Velo... Tom Vaughan
- Re: Proposal for New Velo... Jon Stevens
