Velocity
  1. Velocity
  2. VELOCITY-280

Parsing of braces after a reference fails

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Later
    • Affects Version/s: 1.4
    • Fix Version/s: 2.x
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: All

      Description

      Parsing of braces '{}' after a reference fails in all cases:
      $foo

      {bar}
      produces
      $foo{

      \$foo{bar}

      produces
      \$foo{

      #set ($foo = 'foo')
      $foo

      {bar}
      produces
      foo{

      \$foo{bar}

      produces
      $foo{

        Activity

        Hide
        Will Glass-Husain added a comment -

        Possibly this is related to Velocity-264?
        We should fix this for v1.5.

        Show
        Will Glass-Husain added a comment - Possibly this is related to Velocity-264? We should fix this for v1.5.
        Hide
        Henning Schmiedehausen added a comment -

        This problem is related to the complicated parser structure that tries to resolve references. While I'm able to patch the parser to actually let these elements pass through, this leads to other side effects. Really fixing this stuff needs probably some rewrite of the Parser.jj file; if anyone is willing to do this for 1.5, I'd be more than willing to put that in, else it will get postponed to 2.0

        Show
        Henning Schmiedehausen added a comment - This problem is related to the complicated parser structure that tries to resolve references. While I'm able to patch the parser to actually let these elements pass through, this leads to other side effects. Really fixing this stuff needs probably some rewrite of the Parser.jj file; if anyone is willing to do this for 1.5, I'd be more than willing to put that in, else it will get postponed to 2.0

          People

          • Assignee:
            Unassigned
            Reporter:
            Ilkka Priha
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development