Hi all,
I just committed a change to tokenizer.py to enable multi-line string literals, that is string constants using the "\<newline>"sequence to span two or more lines, i.e.:

var str = "this is \
a multi-line \
string"

The tokenizer also "normalizes" such string literals (i.e. it removes the "\<newline>" sequences) before they are passed to the rest of the compilation process, so that if the same string appears both in multi-line and in single-line form it can be optimized into a single reference.

Cheers,
Alessandro

begin:vcard
fn:Alessandro Sala
n:Sala;Alessandro
email;internet:alessandro {dot} sala {at} mclink {dot} net
version:2.1
end:vcard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to