[qooxdoo-commit] SF.net SVN: qooxdoo: [4077] trunk/qooxdoo/frontend/framework/tool/generator /modul
Brought to you by:
ecker,
martinwittemann
From: <wp...@us...> - 2006-08-31 09:34:56
|
Revision: 4077 http://svn.sourceforge.net/qooxdoo/?rev=4077&view=rev Author: wpbasti Date: 2006-08-31 02:34:50 -0700 (Thu, 31 Aug 2006) Log Message: ----------- Improved handling of return code Modified Paths: -------------- trunk/qooxdoo/frontend/framework/tool/generator/modules/treecompiler.py Modified: trunk/qooxdoo/frontend/framework/tool/generator/modules/treecompiler.py =================================================================== --- trunk/qooxdoo/frontend/framework/tool/generator/modules/treecompiler.py 2006-08-31 09:22:55 UTC (rev 4076) +++ trunk/qooxdoo/frontend/framework/tool/generator/modules/treecompiler.py 2006-08-31 09:34:50 UTC (rev 4077) @@ -83,8 +83,11 @@ compString += "new " elif node.type == "return": - compString += "return " + compString += "return" + if node.hasChildren(): + compString += " " + elif node.type == "definitionGroup": compString += "var " This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |