Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-631

VTL Creates parse error, but shouldn't

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6-beta1
    • 1.6
    • Engine
    • 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> ...

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            byronvf Byron Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: