Change hqm-20101211-Zl6 by [email protected] on 2010-12-11 16:27:59 EST
in /Users/hqm/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: add $flexversion compile-time and runtime constant
New Features:
Bugs Fixed: LPP-9584
Technical Reviewer: andre
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
Place $flexversion in the compile-time constants and runtime constants table.
Default value of flexversion == "10.0"
example
lzc -lDEBUG --flex-options=version=10.1 --runtime=swf10 test/flexoptions.lzx
Tests:
Since this is a string value, the compiler will currently throw and error if
you try to
eval $flexversion as compile-time conditional.
It should work when the compiler is extended handle string comparison in
compile-time constants (LPP-9583)
Files:
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
M
WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101211-Zl6.tar