summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorFredrik Høisæther Rasch <fredrik.rasch@gmail.com>2017-05-31 13:08:08 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-05-31 13:08:08 +0200
commit6652ae97414f6806fde57ef252e548795f469262 (patch)
tree54508f1522154470354d62550fb6ae443df1a0a8 /doc
parenteb83ec2685f5bbd0d65051b1f00502f05a367172 (diff)
downloadNim-6652ae97414f6806fde57ef252e548795f469262.tar.gz
Creating and setting comment nodes in macros (#5850)
* strVal assingnable comment statement ast nodes
* Set comment instead of strVal for comment nodes
* Added test code for creating and setting comment nodes
* Modified the AST spec documentation for documentation comments
Diffstat (limited to 'doc')
-rw-r--r--doc/astspec.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt
index f430677af..57f6b9d8c 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -461,8 +461,8 @@ Documentation Comments
 ----------------------
 
 Double-hash (``##``) comments in the code actually have their own format,
-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.
+using ``strVal`` to get and set the comment text. Single-hash (``#``) 
+comments are ignored.
 
 Concrete syntax: