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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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:  [EMAIL PROTECTED]
WWW:    http://www.ddanderson.com

Reply via email to