summary refs log tree commit diff stats
path: root/doc/grammar.txt
diff options
context:
space:
mode:
authorflaviut <tamasflaviu@gmail.com>2014-06-08 15:46:19 -0400
committerflaviut <tamasflaviu@gmail.com>2014-06-08 15:46:19 -0400
commit145cb3ae8ccf58495a3e38f6646041661de2affb (patch)
tree7ff06be915d9141647bb13cfc799c915268ffeca /doc/grammar.txt
parent6b9359d90161887b2dc4fa12d9861883d22530f6 (diff)
downloadNim-145cb3ae8ccf58495a3e38f6646041661de2affb.tar.gz
fix overlooked grammer comment
Diffstat (limited to 'doc/grammar.txt')
-rw-r--r--doc/grammar.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/grammar.txt b/doc/grammar.txt
index 61557b68c..fe5341840 100644
--- a/doc/grammar.txt
+++ b/doc/grammar.txt
@@ -82,6 +82,7 @@ paramListColon = paramList? (':' optInd typeDesc)?
 doBlock = 'do' paramListArrow pragmas? colcom stmt
 doBlocks = doBlock ^* IND{=}
 procExpr = 'proc' paramListColon pragmas? ('=' COMMENT? stmt)?
+distinct = 'distinct' optInd typeDesc
 expr = (ifExpr
       | whenExpr
       | caseExpr