You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by dl...@apache.org on 2003/10/05 23:28:38 UTC
cvs commit: jakarta-velocity/xdocs vtl-reference-guide.xml
dlr 2003/10/05 14:28:38
Modified: docs vtl-reference-guide.html
xdocs vtl-reference-guide.xml
Log:
* docs/vtl-reference-guide.html
* xdocs/vtl-reference-guide.xml
Removed unnecessary commas from #macro syntax, as pointed out by
Maurice Kienenberger. Removed extra "s" from the end of "arguments"
in same section.
Issue: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23569
Revision Changes Path
1.56 +2 -2 jakarta-velocity/docs/vtl-reference-guide.html
Index: vtl-reference-guide.html
===================================================================
RCS file: /home/cvs/jakarta-velocity/docs/vtl-reference-guide.html,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -u -r1.55 -r1.56
--- vtl-reference-guide.html 17 Jul 2003 03:12:35 -0000 1.55
+++ vtl-reference-guide.html 5 Oct 2003 21:28:38 -0000 1.56
@@ -576,14 +576,14 @@
Format:
</p>
<p>
- <strong>#macro(</strong> vmname $arg1[, $arg2, $arg3, ... $argn ]
+ <strong>#macro(</strong> vmname $arg1 [ $arg2 $arg3 ... $argn ]
<strong>)</strong> [ VM VTL code... ] <strong>#end</strong>
</p>
<ul>
<li><em>vmname</em> - Name used to call the VM
(<em>#vmname</em>)</li>
<li><em>$arg1 $arg2 [ ... ]</em> - Arguments to the VM. There can be
- any number of argumentss, but the number used at invocation must
+ any number of arguments, but the number used at invocation must
match the number specified in the definition.</li>
<li><em>[ VM VTL code... ]</em> - Any valid VTL code, anything you
can put into a template, can be put into a VM.</li>
1.34 +2 -2 jakarta-velocity/xdocs/vtl-reference-guide.xml
Index: vtl-reference-guide.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/xdocs/vtl-reference-guide.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -u -r1.33 -r1.34
--- vtl-reference-guide.xml 16 Jan 2002 00:01:34 -0000 1.33
+++ vtl-reference-guide.xml 5 Oct 2003 21:28:38 -0000 1.34
@@ -351,7 +351,7 @@
</p>
<p>
- <strong>#macro(</strong> vmname $arg1[, $arg2, $arg3, ... $argn ]
+ <strong>#macro(</strong> vmname $arg1 [ $arg2 $arg3 ... $argn ]
<strong>)</strong> [ VM VTL code... ] <strong>#end</strong>
</p>
@@ -359,7 +359,7 @@
<li><em>vmname</em> - Name used to call the VM
(<em>#vmname</em>)</li>
<li><em>$arg1 $arg2 [ ... ]</em> - Arguments to the VM. There can be
- any number of argumentss, but the number used at invocation must
+ any number of arguments, but the number used at invocation must
match the number specified in the definition.</li>
<li><em>[ VM VTL code... ]</em> - Any valid VTL code, anything you
can put into a template, can be put into a VM.</li>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org