Title: RE: Parser Update

Yep. That's a problem. Haven't had enough coffee yet but...

Proposal -> put the \ between the ($|#) and the identifier

$\foo
#\foreach

geir


    -----Original Message-----
    From:   Gunnar R|nning [SMTP:[EMAIL PROTECTED]]
    Sent:   Monday, November 06, 2000 6:35 AM
    To:     [EMAIL PROTECTED]
    Cc:     velocity-user
    Subject:        Re: Parser Update

    "Geir Magnusson Jr." <[EMAIL PROTECTED]> writes:


    >
    > 1) When a non-null reference (a reference that refers to actual data in
    > the Context) is preceeded by a '\', it will be rendered as $<reference>.
    >
    >
    > #set $foo = "woogie"
    > \$foo => $foo
    > \$bar => $bar
    >

    So what about escaping the backslash itself ? Let's say I want the
    following output by accessing $foo :

    "\woogie"


    regards,

            Gunnar

Reply via email to