Change bargull-20110112-HPs by barg...@bargull02 on 2011-01-12 13:58:12
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: handle array elision in compiler
Bugs Fixed: LPP-5341 (parser error with trailing comma in array list),
LPP-9501 (500 Internal Server Error)
Technical Reviewer: ptw
QA Reviewer: henry
Details:
ParseTreePrinter:
Add ASTEmptyExpression to the ignore list for operator precedence
CodeGenerator:
Ignore ASTEmptyExpression at the end of an array literal
JavascriptGenerator:
Handle JScript bug with elided element at array end which is not ignored
in IE
ecma.lzl:
Add tests for array elision
Tests:
smoke check
Files:
M test/smoke/ecma.lzl
M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/ParseTreePrinter.java
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/bargull-20110112-HPs.tar