0 Replies Latest reply on Jun 5, 2008 6:18 AM by (Paul_Reilly)

    [svn] 1965: * Made AST generation the default.

      Revision: 1965
      Author: preilly@adobe.com
      Date: 2008-06-05 07:18:47 -0700 (Thu, 05 Jun 2008)

      Log Message:
      -----------
      * Made AST generation the default. To turn it off set
      -generate-abstract-syntax-tree to false.

      * Fixed two small issues found by the mxunit and mxmlcunit tests.

      tests Passed: checkintests, mxunit and mxmlcunit

      Needs QA: YES

      Needs DOC: NO

      Bug fixes:

      API Change: NO

      Reviewer: pfarland

      Code-level description of changes:

      as3/OffsetInputBuffer.java

      Modified constructor to set "curr_line_offset", because if the
      first token is xml, "curr_line_offset" will not have been
      initialized using "pos".

      common/CompilerConfiguration.java

      Changed generateAbstractSyntaxTree to true.

      mxml/rep/BindingExpression.java

      Modified generateNamespaceDeclarations() to intern the generated
      namespace, because it is assumed to be interned by ASC. The
      assert in IdentifierNode caught this.

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/OffsetInputBuffer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java