summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorapense <apense@users.noreply.github.com>2015-06-15 12:58:44 -0400
committerapense <apense@users.noreply.github.com>2015-06-15 12:58:44 -0400
commitac6ea4b76dda5ced9ebf10bc7bf58d29aef24748 (patch)
tree70072379c9c21e71bbd55e1379db689c2ca7fb00 /doc
parent38cb13cde53c9af885c48da87db10e2c19d151bd (diff)
downloadNim-ac6ea4b76dda5ced9ebf10bc7bf58d29aef24748.tar.gz
Clarified AST
Generic parameters are treated in the next paragraph. Revised text for future compatibility
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 b3955c634..0d9475749 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -133,7 +133,7 @@ AST:
   )
 
 Note that with multiple infix operators, the command is parsed by operator 
-precedence, with the end result mirroring Reverse Polish Notation.
+precedence.
 
 Concrete syntax:
 
@@ -408,8 +408,8 @@ Documentation Comments
 ----------------------
 
 Double-hash (``##``) comments in the code actually have their own format, 
-but *it doesn't matter what is there*. The AST will only show that a comment 
-exists, not what it contains. Single-hash (``#``) comments are ignored.
+but the comments do not yet show up in the AST, which will only show that 
+a comment exists, not what it contains. Single-hash (``#``) comments are ignored.
 
 Concrete syntax:
 
@@ -785,7 +785,7 @@ AST:
   nnkTypeSection(
     nnkTypeDef(
       nnkIdent(!"A"),
-      nnkEmpty(), # for pragmas
+      nnkEmpty(),
       nnkIdent(!"int")
     )
   )