Short annotations supported in parser for toplevel declarations

Error recovery tests fail
This commit is contained in:
Andrey Breslav
2011-07-13 23:22:50 +04:00
parent 252086263c
commit 3ead58dc78
49 changed files with 618 additions and 899 deletions
+3 -2
View File
@@ -7,9 +7,10 @@ annotations
;
annotation
: "[" annotationEntry{","} "]"
: "[" annotationEntry+ "]"
: annotationEntry
;
annotationEntry
: SimpleName{"."} (valueArguments | "=" expression)?
: SimpleName{"."} typeArguments? valueArguments?
;