Hi, >It sounds like enum may be one of those that JavaScript allows that ActionScript currently doesn't.
I've checked it out and it turns out that for both (AS3 and JS, ECMAScript5) 'enum' is flagged as future reserved keyword [1][2]. Does is makes sense to just add it to as3ReservedWords [3]? Thanks, Olaf [1] https://www.ecma-international.org/ecma-262/5.1/ [1a] https://snag.gy/BLv4yX.jpg [2] http://help.adobe.com/en_US/as3/learn/WS5b3ccc516d4fbf351e63e3d118a9b90204- 7f9b.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7f6e [2a] https://snag.gy/p6r7av.jpg [3] https://github.com/apache/flex-falcon/blob/7137de6b19cd11630ee1ef29f7a9164166e35b10/flex-compiler-oem/src/main/java/flex2/compiler/mxml/lang/StandardDefs.java#L623 -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Compiler-doesn-t-recognize-reserved-JS-words-like-enum-tp61735p61758.html Sent from the Apache Flex Development mailing list archive at Nabble.com.