summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorQuelklef <elimaynard923@gmail.com>2018-07-11 02:52:09 -0400
committerAndreas Rumpf <rumpf_a@web.de>2018-07-11 08:52:09 +0200
commit6fe79fd15818bee4662500b8febb8239d2381ce8 (patch)
tree8730bf54582ee52dda8ce606c8d386ca771183c9 /doc
parent25bf0d1683ce7203c004a5b14d92dcbe6ff40331 (diff)
downloadNim-6fe79fd15818bee4662500b8febb8239d2381ce8.tar.gz
Fixed a wrong AST example (#8269)
Diffstat (limited to 'doc')
-rw-r--r--doc/astspec.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt
index 73058cd93..830dc7da9 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -1270,10 +1270,10 @@ AST:
         nnkIdent("float32"),
         nnkEmpty()
       )
-      nnkPragma(nnkIdent("inline")),
-      nnkEmpty(), # reserved slot for future use
-      nnkStmtList(nnkDiscardStmt(nnkEmpty())) # the meat of the proc
-    )
+    ),
+    nnkPragma(nnkIdent("inline")),
+    nnkEmpty(), # reserved slot for future use
+    nnkStmtList(nnkDiscardStmt(nnkEmpty())) # the meat of the proc
   )
 
 There is another consideration. Nim has flexible type identification for