Approved.
On 2008-01-26, at 18:11 EST, Donald Anderson wrote:
Change 20080126-dda-y by [EMAIL PROTECTED] on 2008-01-26 18:02:53 EST
in /Users/dda/laszlo/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: script compiler: Add type to catch clause.
New Features:
Bugs Fixed: LPP-5381
Technical Reviewer: ptw (pending)
QA Reviewer: hminsky (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Fix is simple - according to the ES4 grammar, the catch
'parameter' should
look the same as a function parameter (without the possibility of
an init clause).
Note that when merged with devildog, this will need to be tweaked
slightly
as the grammars are now different.
Specifically, FormalParameter() will be
FormalParameterIdentifier().
Tests:
Files:
M test/trycatch.lzx
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080126-dda-y.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com