Fix reST syntax in doc/astspec.txt

This commit is contained in:
Sergey Avseyev 2015-06-18 14:04:15 +03:00
commit 137c836616
No known key found for this signature in database
GPG key ID: B8C52427872CF7D3

View file

@ -1059,7 +1059,7 @@ Nim type Corresponding AST
``iterator`` ``nnkIteratorTy`` ``iterator`` ``nnkIteratorTy``
``object`` ``nnkObjectTy`` ``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``. to ``Procedure declaration``, below, but does not treat ``nnkGenericParams``.
Generic parameters are treated in the type, not the ``proc`` itself. Generic parameters are treated in the type, not the ``proc`` itself.
@ -1084,8 +1084,8 @@ AST:
) )
) )
The same syntax applies to ``iterator``s (with ``nnkIteratorTy``), but The same syntax applies to ``iterator`` (with ``nnkIteratorTy``), but
*does not* apply to ``converter``s or ``template``s. *does not* apply to ``converter`` or ``template``.
Mixin statement Mixin statement
--------------- ---------------