Change 20071212-dda-X by [EMAIL PROTECTED] on 2007-12-12 18:05:00 EST
in /Users/dda/laszlo/src/svn/openlaszlo/branches/devildog
for http://svn.openlaszlo.org/openlaszlo/branches/devildog
Summary: SWF9: More fixes for LzNode
New Features: none
Bugs Fixed: LPP-5234 (not completely fixed)
Technical Reviewer: ptw (pending)
QA Reviewer: hminsky (pending)
Doc Reviewer: (pending)
Documentation: none
Release Notes: none
Details:
More fixes for LzNode:
+ A previous commit added in a call to
translateClassDirectivesBlocks,
but that function moves vars/methods from a class block into
properties.
For SWF9, we want these functions to be real methods on the class,
so there is a new compiler (internal) option, called
KEEP_CLASS_METHODS
that indicates that vars/methods should be kept as regular declared
elements of the class.
+ Fixed a method declaration the placement of setting the
inDefaultClass which
were causing the generator to not accurately know if it was in a
function
or a class.
Tests:
buildlfc with only LzNode enabled.
Files:
M WEB-INF/lps/server/src/org/openlaszlo/sc/CommonGenerator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071212-dda-
X.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com