Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Albert Kam <moonblade.w...@gmail.com> |
Subject | How to detect macro duplicates ? |
Date | Wed, 20 Jan 2016 13:26:24 GMT |
Hi guys ! My need is just to detect unintended macro name duplicates resulting from multiple template merges. I tried : <@test /> <#macro test> Testing 1 </#macro> <#macro test> Testing 2 </#macro> And it prints out Test 2. What i expect is to throw exception upon finding dupes, or maybe in the template itself i can check the amount of macro variables ? | |
Mime |
|
View raw message |