From cab2ce7e8770f35561f002bab601358a09535ef2 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 2 Apr 2017 23:42:53 +0200 Subject: [PATCH] update grammar.txt --- doc/grammar.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)?