update grammar.txt
This commit is contained in:
parent
c65ff403b2
commit
cab2ce7e87
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ typeClass = typeClassParam ^* ',' (pragma)? ('of' typeDesc ^* ',')?
|
||||||
typeDef = identWithPragmaDot genericParamList? '=' optInd typeDefAux
|
typeDef = identWithPragmaDot genericParamList? '=' optInd typeDefAux
|
||||||
indAndComment?
|
indAndComment?
|
||||||
varTuple = '(' optInd identWithPragma ^+ comma optPar ')' '=' optInd expr
|
varTuple = '(' optInd identWithPragma ^+ comma optPar ')' '=' optInd expr
|
||||||
variable = (varTuple / identColonEquals) indAndComment
|
colonBody = colcom stmt doBlocks?
|
||||||
|
variable = (varTuple / identColonEquals) colonBody? indAndComment
|
||||||
bindStmt = 'bind' optInd qualifiedIdent ^+ comma
|
bindStmt = 'bind' optInd qualifiedIdent ^+ comma
|
||||||
mixinStmt = 'mixin' optInd qualifiedIdent ^+ comma
|
mixinStmt = 'mixin' optInd qualifiedIdent ^+ comma
|
||||||
pragmaStmt = pragma (':' COMMENT? stmt)?
|
pragmaStmt = pragma (':' COMMENT? stmt)?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue