diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-01-16 21:40:54 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-01-16 21:40:54 +0100 |
commit | 2e71bd50b26e6165121a3076f7dc70175e9f1f55 (patch) | |
tree | b52a9f1361323889b31b8289ae5b6138aacca09d /compiler/parser.nim | |
parent | 2910096ccec456aa6493d06c9cc36bb70acd2988 (diff) | |
download | Nim-2e71bd50b26e6165121a3076f7dc70175e9f1f55.tar.gz |
implements multi-line-comments; pounds are stripped from the doc comments
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r-- | compiler/parser.nim | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim index eb0ef071d..c4681a5cd 100644 --- a/compiler/parser.nim +++ b/compiler/parser.nim @@ -112,12 +112,7 @@ proc rawSkipComment(p: var TParser, node: PNode) = if p.tok.tokType == tkComment: if node != nil: if node.comment == nil: node.comment = "" - if p.tok.literal == "[]": - node.flags.incl nfIsCursor - #echo "parser: " - #debug node - else: - add(node.comment, p.tok.literal) + add(node.comment, p.tok.literal) else: parMessage(p, errInternal, "skipComment") getTok(p) |