[Laszlo-dev] For Review: Change 20071019-ptw-j Summary: Permit arbitrary escapes in strings
Donald Anderson
dda at ddanderson.com
Sun Oct 21 14:55:21 PDT 2007
Approved. The grammar will reject \4, \5, \6, \7, which
are technically legal, but since we are accepting octal
character escapes, I think this is the right choice to catch
coding mistakes.
On Oct 19, 2007, at 2:18 PM, P T Withington wrote:
> Change 20071019-ptw-j by ptw at dueling-banjos.local on 2007-10-19
> 14:11:18 EDT
> in /Users/ptw/OpenLaszlo/ringding-2
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Permit arbitrary escapes in strings
>
> Bugs Fixed:
> LPP-4940 'Trouble parsing strings with backslashes'
>
> Technical Reviewer: dda at ddanderson.com (pending)
> QA Reviewer: hminsky (pending)
>
> Details:
> Permit any character after '\' (while still ensuring that '\0',
> '\u', and '\x' escapes are valid).
>
> Tests:
> Test case no longer gives parse error:
>
> lzx> "Foo\/"
> 'Foo/'
> lzx>
>
> Files:
> M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
>
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071019-
> ptw-j.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: dda at ddanderson.com
WWW: http://www.ddanderson.com
More information about the Laszlo-dev
mailing list