Merge pull request #2954 from avsej/fix-rest-syntax-in-astspec

Fix rest syntax in astspec
This commit is contained in:
Andreas Rumpf 2015-06-18 13:39:07 +02:00
commit bd394eaeda

View file

@ -1153,7 +1153,7 @@ Nim type Corresponding AST
``iterator`` ``nnkIteratorTy``
``object`` ``nnkObjectTy``
Take special care when declaring types as ``proc``s. The behavior is similar
Take special care when declaring types as ``proc``. The behavior is similar
to ``Procedure declaration``, below, but does not treat ``nnkGenericParams``.
Generic parameters are treated in the type, not the ``proc`` itself.
@ -1178,8 +1178,8 @@ AST:
)
)
The same syntax applies to ``iterator``s (with ``nnkIteratorTy``), but
*does not* apply to ``converter``s or ``template``s.
The same syntax applies to ``iterator`` (with ``nnkIteratorTy``), but
*does not* apply to ``converter`` or ``template``.
Mixin statement
---------------