Add a #return directive for returning from a macro
--------------------------------------------------

                 Key: VELOCITY-699
                 URL: https://issues.apache.org/jira/browse/VELOCITY-699
             Project: Velocity
          Issue Type: New Feature
          Components: Engine
    Affects Versions: 2.0
            Reporter: Byron Foster


The #return directive would be used to return from a macro call, for example:

#macro(foo)
  green
  #return 
  eggs and ham
#end

would render:

green



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to