flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cza...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - FLEX-33320 Accept patch from Darrell Loverin for FLEX-33321. All tests pass
Date Thu, 12 Sep 2013 08:12:25 GMT
Updated Branches:
  refs/heads/develop 9bcd61d36 -> 3c382321c


FLEX-33320 Accept patch from Darrell Loverin for FLEX-33321.  All tests pass


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/3c382321
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/3c382321
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/3c382321

Branch: refs/heads/develop
Commit: 3c382321c2588038f411b1c62cb61986fed75d5b
Parents: 9bcd61d
Author: cyrill.zadra <cyrill.zadra@gmail.com>
Authored: Thu Sep 12 10:10:49 2013 +0200
Committer: cyrill.zadra <cyrill.zadra@gmail.com>
Committed: Thu Sep 12 10:10:49 2013 +0200

----------------------------------------------------------------------
 .../flex/compiler/internal/parsing/as/StreamingASTokenizer.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3c382321/compiler/src/org/apache/flex/compiler/internal/parsing/as/StreamingASTokenizer.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/as/StreamingASTokenizer.java
b/compiler/src/org/apache/flex/compiler/internal/parsing/as/StreamingASTokenizer.java
index 6bfb47a..7f898c1 100644
--- a/compiler/src/org/apache/flex/compiler/internal/parsing/as/StreamingASTokenizer.java
+++ b/compiler/src/org/apache/flex/compiler/internal/parsing/as/StreamingASTokenizer.java
@@ -1247,6 +1247,11 @@ public class StreamingASTokenizer implements ASTokenTypes, IASTokenizer,
Closeab
 
                 case TOKEN_SQUARE_CLOSE:
                 case TOKEN_IDENTIFIER:
+                    // "[" following a "]" is an array access.
+                    // "[" following an identifier is an array access.
+                    isNextMetadata = false;
+                    break;
+                    
                 case TOKEN_KEYWORD_INCLUDE:
                 case TOKEN_BLOCK_CLOSE:
                 case TOKEN_OPERATOR_STAR:


Mime
View raw message