diff --git a/doc/grammar.txt b/doc/grammar.txt index c70a6737fd..f6b9b115f5 100644 --- a/doc/grammar.txt +++ b/doc/grammar.txt @@ -174,7 +174,8 @@ typeClass = typeClassParam ^* ',' (pragma)? ('of' typeDesc ^* ',')? typeDef = identWithPragmaDot genericParamList? '=' optInd typeDefAux indAndComment? 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 mixinStmt = 'mixin' optInd qualifiedIdent ^+ comma pragmaStmt = pragma (':' COMMENT? stmt)?