Velocity
  1. Velocity
  2. VELOCITY-631

VTL Creates parse error, but shouldn't

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6-beta1
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None

      Description

      The following creates a parse exception, but should not:

      #macro(test $x)$x#set($i=1)#end

      Exception:

      Threw: org.apache.velocity.exception.ParseErrorException
      msg: Encountered "=" at /foo.vm[line 2, column 25]
      Was expecting one of:
      <RPAREN> ...
      <WHITESPACE> ...
      <WHITESPACE> ...

      1. fix631.patch
        127 kB
        Byron Foster
      2. Velocity631TestCase.java
        1 kB
        Nathan Bubna

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development