summary refs log tree commit diff stats
path: root/compiler/suggest.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-01-08 16:30:26 +0100
committerAraq <rumpf_a@web.de>2013-01-08 16:30:26 +0100
commitf280ed1560b3b95bfe7fdea0c74b6e6a012a91dc (patch)
tree99dfee4465554c0b852689a2b690580e565acaef /compiler/suggest.nim
parent1bc5ff6dc912d3bfdd7dbbed88d06bce18804db3 (diff)
downloadNim-f280ed1560b3b95bfe7fdea0c74b6e6a012a91dc.tar.gz
implements #295
Diffstat (limited to 'compiler/suggest.nim')
-rwxr-xr-xcompiler/suggest.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/suggest.nim b/compiler/suggest.nim
index 404f1c1bb..130666f4d 100755
--- a/compiler/suggest.nim
+++ b/compiler/suggest.nim
@@ -1,7 +1,7 @@
 #
 #
 #           The Nimrod Compiler
-#        (c) Copyright 2012 Andreas Rumpf
+#        (c) Copyright 2013 Andreas Rumpf
 #
 #    See the file "copying.txt", included in this
 #    distribution, for details about the copyright.
@@ -39,6 +39,8 @@ proc SymToStr(s: PSym, isLocal: bool, section: string, li: TLineInfo): string =
   result.add($ToLinenumber(li))
   result.add(sep)
   result.add($ToColumn(li))
+  result.add(sep)
+  result.add(s.extractDocComment.escape)
 
 proc SymToStr(s: PSym, isLocal: bool, section: string): string = 
   result = SymToStr(s, isLocal, section, s.info)