Velocity
  1. Velocity
  2. VELOCITY-690

Do not require block directive to have parenthesis

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.x
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      Block directives are currently required by the parser to contain parenthesis, which includes block macros. So

      #@foo
      #end

      is not allowed, and neither are custom block directives. Removing this requirement makes the syntax consistent with line directives.

        Activity

        Byron Foster created issue -
        Byron Foster made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12452143 ] Default workflow, editable Closed status [ 12551603 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551603 ] jira [ 12552488 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Byron Foster
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development