Hi Tobi,

> if (a) for (i=0;i<1;i++){ 1 } else while (true) { 1 };

yeah, you're right it is valid JS. The Generator mistakenly inserts a 
semicolon before the else, because he get's confused without the curly 
brackets.

Unfortunately we won't fix it, because the new JS-based parser we use 
(esprima) already get's this right and we won't put effort into fixing
this in our old parser.

But if we take one step back, why are you processing D3 through the 
Generator? Wouldn't it be more useful, to use add-script [1]? What's 
your use case?

[1] 
http://manual.qooxdoo.org/current/pages/tool/generator/generator_config_ref.html#add-script

Regards
Richard

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to