From 5e338c371e56ff6193c8bc3581b0e268e9e5fa63 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Fri, 6 Jul 2018 15:48:17 +0100 Subject: [PATCH] Use '\L' instead of '\n' in system for backwards compatibility. See https://github.com/nim-lang/packages/pull/785. --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 15f952feb0..c611befffb 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -3988,7 +3988,7 @@ proc addEscapedChar*(s: var string, c: char) {.noSideEffect, inline.} = of '\a': s.add "\\a" # \x07 of '\b': s.add "\\b" # \x08 of '\t': s.add "\\t" # \x09 - of '\n': s.add "\\n" # \x0A + of '\L': s.add "\\n" # \x0A of '\v': s.add "\\v" # \x0B of '\f': s.add "\\f" # \x0C of '\c': s.add "\\c" # \x0D