summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-04-20 03:03:12 +0200
committerAraq <rumpf_a@web.de>2013-04-20 03:03:12 +0200
commit7e329db45ff3f0ea9165c62618ab252163ce3e7a (patch)
tree73f862137e2ec85ef3c28f369012d7899c48a5df /compiler/msgs.nim
parent2796121dd7410af45a2fbaf43cc7577799fb3157 (diff)
downloadNim-7e329db45ff3f0ea9165c62618ab252163ce3e7a.tar.gz
next steps for the new parser
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 8b45bf80c..748da300b 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -711,7 +711,7 @@ var
 
 proc writeSurroundingSrc(info: TLineInfo) =
   const indent = "  "
-  MsgWriteln(indent & info.sourceLine.data)
+  MsgWriteln(indent & info.sourceLine.ropeToStr)
   MsgWriteln(indent & repeatChar(info.col, ' ') & '^')
 
 proc liMessage(info: TLineInfo, msg: TMsgKind, arg: string,