You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/01/15 00:57:53 UTC

[royale-compiler] branch develop updated: handle asdoc in a switch statement. Fixes #70

This is an automated email from the ASF dual-hosted git repository.

aharui 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 16d467c  handle asdoc in a switch statement.  Fixes #70
16d467c is described below

commit 16d467c5e79ebaec09ce7d33db3e7ada5b15b7c7
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Jan 14 16:57:38 2019 -0800

    handle asdoc in a switch statement.  Fixes #70
---
 .../main/antlr/org/apache/royale/compiler/internal/parsing/as/ASParser.g | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/src/main/antlr/org/apache/royale/compiler/internal/parsing/as/ASParser.g b/compiler/src/main/antlr/org/apache/royale/compiler/internal/parsing/as/ASParser.g
index c9b1528..b4839ce 100644
--- a/compiler/src/main/antlr/org/apache/royale/compiler/internal/parsing/as/ASParser.g
+++ b/compiler/src/main/antlr/org/apache/royale/compiler/internal/parsing/as/ASParser.g
@@ -1884,6 +1884,7 @@ caseClause[ContainerNode swb]
  			b = t.getContentsNode();
  		}
  		caseStatementList[b]
+        |   asDocComment
  	;
  	exception catch [RecognitionException ex] {handleParsingError(ex);  }