jetma / velocity-edit

Automatically exported from code.google.com/p/velocity-edit
GNU General Public License v2.0
0 stars 0 forks source link

Macro doesn't support commas #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a macro with more than 1 argument in its definition

What is the expected output? What do you see instead?
Macro should be treated fine.Instead the plugin reports it as an error at the 
first comma.

What version of the product are you using? On what operating system?
v1.6.1 on Juno 4.2 SR1

Please provide any additional information below.
Sample macro:
#macro(placeCode $placementId,$sizeId)
    <!-- dummy code -->
#end

Original issue reported on code.google.com by gauravku...@gmail.com on 1 Jan 2013 at 12:23

GoogleCodeExporter commented 9 years ago
*bump*

Original comment by gauravku...@gmail.com on 7 Jan 2013 at 10:26

GoogleCodeExporter commented 9 years ago
Sorry man. As I know, you don't need to type in comma between parameters in 
macro definition. Try this:

#macro(placeCode $placementId $sizeId)
    <!-- dummy code -->
#end

Original comment by sefler...@gmail.com on 28 Jan 2013 at 3:35