Change 20080522-dda-h by [EMAIL PROTECTED] on 2008-05-22 08:03:36 EDT
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-c
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Protection for Javascript 'return' snafus in unparser

New Features:

Bugs Fixed: LPP-5761

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
The argument for return is checked - if it contains a newline and is not already
   parenthesized, parentheses are added.

Note: this change is made and tested against r9252 -- before r9267, which would fix the reported problem in a different way. This fix should guarantee that problems with breaking lines in 'return' statements will not trouble us again.


Tests:
   Tested againg r9252 (see Details above):

   The original LzUtils.lzs compiles.

   swf9 hello + (smoketest,weather,lzpix) * (swf8,dhtml)

Files:
M      WEB-INF/lps/lfc/services/LzUtils.lzs
M      WEB-INF/lps/server/src/org/openlaszlo/sc/ParseTreePrinter.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080522-dda-h.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