velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel L. Rall" <...@finemaltcoding.com>
Subject Re: change to VTL : 'proper' handling of '\' character
Date Mon, 30 Oct 2000 03:14:53 GMT
Jason van Zyl wrote:
> 
> On Sun, 29 Oct 2000, Daniel L. Rall wrote:
> 
> > "Geir Magnusson Jr." wrote:
> > >
> > > How about  :
> > >
> > >         #set $foo = [ "\"foo\"", "this" ]
> >
> 
> Maybe we should have two kinds of STRING_LITERAL so
> that we can do things like:
> 
> #set $foo = [ "'foo'" , "this" ]
> 
> one type with " as the delimiter
> another with ' as the delimiter

Assuming that you meant:

#set $foo = [ 'foo' , "this" ]

...I'm not happy with it, since means new quoting/escape rules for
dealing with single-quoted String literals.
-- 

Daniel Rall <dlr@finemaltcoding.com>

Mime
View raw message