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

Parsing of braces after a reference fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: 1.4
    • Fix Version/s: 2.0
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: All
    • Bugzilla Id:
      30064

      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
        henning 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 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
        Hide
        wglass Will Glass-Husain added a comment -

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

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

          People

          • Assignee:
            Unassigned
            Reporter:
            ipriha@norther.org Ilkka Priha
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development