Parse correct AttrInput

This commit is contained in:
uHOOCCOOHu 2019-09-30 04:44:33 +08:00
parent c913b48928
commit 71efdaa636
No known key found for this signature in database
GPG key ID: CED392DE0C483D00
33 changed files with 844 additions and 601 deletions

View file

@ -576,7 +576,8 @@ Grammar(
traits: [ "NameOwner", "AttrsOwner","DocCommentsOwner" ],
options: [ "TokenTree", "Path" ],
),
"Attr": ( options: [ ["value", "TokenTree"] ] ),
"AttrInput": ( enum: [ "Literal", "TokenTree" ] ),
"Attr": ( options: [ "Path", [ "input", "AttrInput" ], [ "value", "TokenTree" ] ] ),
"TokenTree": (),
"TypeParamList": (
collections: [