Parser: added the support file annotations to grammar.
This commit is contained in:
@@ -16,7 +16,15 @@ script
|
|||||||
;
|
;
|
||||||
|
|
||||||
preamble
|
preamble
|
||||||
: packageHeader? import*
|
: fileAnnotations? packageHeader? import*
|
||||||
|
;
|
||||||
|
|
||||||
|
fileAnnotations
|
||||||
|
: fileAnnotation*
|
||||||
|
;
|
||||||
|
|
||||||
|
fileAnnotation
|
||||||
|
: "[" "file" ":" annotationEntry+ "]"
|
||||||
;
|
;
|
||||||
|
|
||||||
packageHeader
|
packageHeader
|
||||||
|
|||||||
Reference in New Issue
Block a user