You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by go...@apache.org on 2013/04/19 04:11:42 UTC
git commit: [flex-falcon] - Removed two obsolete MXML tokens.
Updated Branches:
refs/heads/develop fc843bb85 -> e994ca3af
Removed two obsolete MXML tokens.
HIDDEN_TOKEN_COMMENT and HIDDEN_TOKEN_CDATA
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/e994ca3a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/e994ca3a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/e994ca3a
Branch: refs/heads/develop
Commit: e994ca3afad43892414ec6d66a44b20f7f370793
Parents: fc843bb
Author: Gordon Smith <go...@apache.org>
Authored: Thu Apr 18 19:11:40 2013 -0700
Committer: Gordon Smith <go...@apache.org>
Committed: Thu Apr 18 19:11:40 2013 -0700
----------------------------------------------------------------------
.../internal/parsing/mxml/RawMXMLTokenizer.lex | 6 +++---
.../flex/compiler/parsing/MXMLTokenTypes.java | 2 --
2 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e994ca3a/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex b/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
index dd72aec..8ec1a56 100644
--- a/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
+++ b/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
@@ -556,7 +556,7 @@ WHITE_SPACE_CHAR=[\r\n\ \t\b\012]
//
// The CATA state handles a CDATA block such as
// <![CDATA[File > New]]>
-// It builds a single HIDDEN_TOKEN_CDATA token
+// It builds a single TOKEN_CDATA token
// before returning to the initial state.
//
@@ -579,7 +579,7 @@ WHITE_SPACE_CHAR=[\r\n\ \t\b\012]
{
continueAggregate();
yybegin(YYINITIAL);
- return buildAggregateToken(HIDDEN_TOKEN_CDATA);
+ return buildAggregateToken(TOKEN_CDATA);
}
<CDATA> .
@@ -591,7 +591,7 @@ WHITE_SPACE_CHAR=[\r\n\ \t\b\012]
{
continueAggregate();
yybegin(YYINITIAL);
- return buildAggregateToken(HIDDEN_TOKEN_CDATA);
+ return buildAggregateToken(TOKEN_CDATA);
}
//
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e994ca3a/compiler/src/org/apache/flex/compiler/parsing/MXMLTokenTypes.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/parsing/MXMLTokenTypes.java b/compiler/src/org/apache/flex/compiler/parsing/MXMLTokenTypes.java
index 5996473..71a8d41 100644
--- a/compiler/src/org/apache/flex/compiler/parsing/MXMLTokenTypes.java
+++ b/compiler/src/org/apache/flex/compiler/parsing/MXMLTokenTypes.java
@@ -26,8 +26,6 @@ import org.apache.flex.compiler.internal.parsing.as.ASTokenTypes;
*/
public interface MXMLTokenTypes
{
- public static final int HIDDEN_TOKEN_COMMENT = ASTokenTypes.HIDDEN_TOKEN_COMMENT;
- public static final int HIDDEN_TOKEN_CDATA = ASTokenTypes.TOKEN_E4X_CDATA;
public static final int TOKEN_ASDOC_COMMENT = ASTokenTypes.TOKEN_ASDOC_COMMENT;
public static final int TOKEN_CDATA = ASTokenTypes.TOKEN_E4X_CDATA;
public static final int TOKEN_CLOSE_TAG_START = ASTokenTypes.TOKEN_E4X_CLOSE_TAG_START;