Use '\L' instead of '\n' in system for backwards compatibility.
See https://github.com/nim-lang/packages/pull/785.
This commit is contained in:
parent
a1457bfa9f
commit
5e338c371e
1 changed files with 1 additions and 1 deletions
|
|
@ -3988,7 +3988,7 @@ proc addEscapedChar*(s: var string, c: char) {.noSideEffect, inline.} =
|
||||||
of '\a': s.add "\\a" # \x07
|
of '\a': s.add "\\a" # \x07
|
||||||
of '\b': s.add "\\b" # \x08
|
of '\b': s.add "\\b" # \x08
|
||||||
of '\t': s.add "\\t" # \x09
|
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 '\v': s.add "\\v" # \x0B
|
||||||
of '\f': s.add "\\f" # \x0C
|
of '\f': s.add "\\f" # \x0C
|
||||||
of '\c': s.add "\\c" # \x0D
|
of '\c': s.add "\\c" # \x0D
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue