Author: ptw
Date: 2007-12-21 13:06:31 -0800 (Fri, 21 Dec 2007)
New Revision: 7658

Modified:
   
openlaszlo/branches/devildog/WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
Log:
Change 20071221-ptw-g by [EMAIL PROTECTED] on 2007-12-21 15:42:24 EST
    in /Users/ptw/OpenLaszlo/devildog
    for http://svn.openlaszlo.org/openlaszlo/branches/devildog

Summary: Don't translate super calls for swf9

Technical Reviewer: [EMAIL PROTECTED] (pending)
QA Reviewer: [EMAIL PROTECTED] (pending)

Details:
    Just pass super through

Tests:
    Will it work for Henry?



Modified: 
openlaszlo/branches/devildog/WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
===================================================================
--- 
openlaszlo/branches/devildog/WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
    2007-12-21 20:17:14 UTC (rev 7657)
+++ 
openlaszlo/branches/devildog/WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
    2007-12-21 21:06:31 UTC (rev 7658)
@@ -135,6 +135,13 @@
     return node;
   }
 
+  public SimpleNode visitSuperCallExpression(SimpleNode node, boolean 
isReferenced, SimpleNode[] children) {
+    for (int i = 0, len = children.length ; i < len; i++) {
+      children[i] = visitStatement(children[i]);
+    }
+    return node;
+  }
+
   /**
    * Intercept JavascriptGenerator version.
    * We keep track of variables that are implicitly global.


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to