Use '\L' instead of '\n' in system for backwards compatibility.

See https://github.com/nim-lang/packages/pull/785.
This commit is contained in:
Dominik Picheta
2018-07-06 15:48:17 +01:00
parent a1457bfa9f
commit 5e338c371e

View File

@@ -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