mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-03 02:18:00 +00:00
Use '\L' instead of '\n' in system for backwards compatibility.
See https://github.com/nim-lang/packages/pull/785.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user