Change bargull-20110405-fnH by bargull@Bargull02 on 2011-04-05 16:07:11
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Support line continuation in string literal (ES5)
Bugs Fixed: LPP-9867 (ECMAScript5: Implement multi-line string support)
Technical Reviewer: ptw
QA Reviewer: (pending)
Details:
Parser.jjt:
- added private regular expressions for single and multi string
characters to avoid duplicating code
- added line separators to ESCAPE_SEQUENCE regular expression
ASTLiteral.java:
- omit characters in line continuation
Tests:
test case x {swf10,dhtml} (Firefox4, Opera11.01, Safari5.0.4, IE8, IE9)
Files:
M test/smoke/smokecheck.lzx
A test/smoke/ecma-basic.lzl
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/parser/ASTLiteral.java
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/bargull-20110405-fnH.tar