summary refs log tree commit diff stats
path: root/compiler/ropes.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2017-09-04 18:17:22 +0300
committerZahary Karadjov <zahary@gmail.com>2017-09-04 18:17:22 +0300
commitc446806f751642c9ebcaed9cac88d5c24d748c19 (patch)
treeb97f621810f45f4a482371dec812b5140bd5b78a /compiler/ropes.nim
parent2db96d4f7b2b2698009af7336b3a3dcd61fe7cbd (diff)
downloadNim-c446806f751642c9ebcaed9cac88d5c24d748c19.tar.gz
improve the debugging experience when line directives are used
Diffstat (limited to 'compiler/ropes.nim')
-rw-r--r--compiler/ropes.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ropes.nim b/compiler/ropes.nim
index d84b59f78..358ce8a53 100644
--- a/compiler/ropes.nim
+++ b/compiler/ropes.nim
@@ -228,6 +228,7 @@ proc prepend*(a: var Rope, b: string) = a = b & a
 var
   rnl* = tnl.newRope
   softRnl* = tnl.newRope
+  noRnl* = "".newRope
 
 proc `%`*(frmt: FormatStr, args: openArray[Rope]): Rope =
   var i = 0