You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2019/04/19 21:28:22 UTC
[royale-compiler] branch develop updated: RawMXMLTokenizer: fixed
an issue where the xmlns detection was improperly including end-of-file,
which caused an infinite loop
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new d1fed25 RawMXMLTokenizer: fixed an issue where the xmlns detection was improperly including end-of-file, which caused an infinite loop
d1fed25 is described below
commit d1fed256cb111c51ebf5d6e0076f15a45852da1a
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Fri Apr 19 14:28:13 2019 -0700
RawMXMLTokenizer: fixed an issue where the xmlns detection was improperly including end-of-file, which caused an infinite loop
---
.../apache/royale/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex b/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
index 7dfd516..be7802b 100644
--- a/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
+++ b/compiler/src/main/jflex/org/apache/royale/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex
@@ -377,8 +377,7 @@ WHITE_SPACE_CHAR=[\r\n\ \t\b\012]
// or a TOKEN_EMPTY_TAG_END token (for />) before returning to the
// initial state.
-
-<MARKUP> "xmlns"?(":"{ID_FOLLOW}*)?
+<MARKUP> "xmlns"(":"{ID_FOLLOW}*)?
{
return buildToken(TOKEN_XMLNS);
}