0 Replies Latest reply on Aug 6, 2008 12:05 AM by (Paul_Reilly)

    [svn] 2753: tests Passed: checkintests, asc-tests

      Revision: 2753
      Author: preilly@adobe.com
      Date: 2008-08-06 01:05:35 -0700 (Wed, 06 Aug 2008)

      Log Message:
      -----------
      tests Passed: checkintests, asc-tests

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-16319

      API Change: NO

      Reviewer: jspiro

      Code-level description of changes:

      asc/src/java/macromedia/asc/parser/Parser.java

      Modified parseAnnotatedDirectiveOrStatement() to handle parsing a
      code fragment, like CONFIG::foo, by returning the
      ExpressionStatementNode.

      compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java

      Modified parse() to return an empty list if there are no results
      and to start with an ArrayList of size 1 otherwise.

      compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java

      Modified generateAccessorFunction() to be more bullet proof by
      using !isEmpty() instead of size() == 1.

      compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java

      Modified calls to AbstractSyntaxTreeUtil.parse() to check for an
      empty list result before accessing the first element.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16319

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java