Short annotations supported in parser for toplevel declarations
Error recovery tests fail
This commit is contained in:
@@ -7,9 +7,10 @@ annotations
|
||||
;
|
||||
|
||||
annotation
|
||||
: "[" annotationEntry{","} "]"
|
||||
: "[" annotationEntry+ "]"
|
||||
: annotationEntry
|
||||
;
|
||||
|
||||
annotationEntry
|
||||
: SimpleName{"."} (valueArguments | "=" expression)?
|
||||
: SimpleName{"."} typeArguments? valueArguments?
|
||||
;
|
||||
Reference in New Issue
Block a user