mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-28 10:13:56 +00:00
fixes #7089
This commit is contained in:
@@ -63,6 +63,7 @@ Advanced options:
|
||||
--memTracker:on|off turn memory tracker on|off
|
||||
--excessiveStackTrace:on|off
|
||||
stack traces use full file paths
|
||||
--oldNewlines:on|off turn on|off the old behaviour of "\n"
|
||||
--skipCfg do not read the general configuration file
|
||||
--skipUserCfg do not read the user's configuration file
|
||||
--skipParentCfg do not read the parent dirs' configuration files
|
||||
|
||||
@@ -163,9 +163,10 @@ contain the following `escape sequences`:idx:\ :
|
||||
================== ===================================================
|
||||
Escape sequence Meaning
|
||||
================== ===================================================
|
||||
``\n`` `newline`:idx:
|
||||
``\p`` platform specific newline: CRLF on Windows,
|
||||
LF on Unix
|
||||
``\r``, ``\c`` `carriage return`:idx:
|
||||
``\l`` `line feed`:idx:
|
||||
``\n``, ``\l`` `line feed`:idx: (often called `newline`:idx:)
|
||||
``\f`` `form feed`:idx:
|
||||
``\t`` `tabulator`:idx:
|
||||
``\v`` `vertical tabulator`:idx:
|
||||
@@ -261,7 +262,8 @@ Character literals
|
||||
------------------
|
||||
|
||||
Character literals are enclosed in single quotes ``''`` and can contain the
|
||||
same escape sequences as strings - with one exception: `newline`:idx: (``\n``)
|
||||
same escape sequences as strings - with one exception: the platform
|
||||
dependent `newline`:idx: (``\p``)
|
||||
is not allowed as it may be wider than one character (often it is the pair
|
||||
CR/LF for example). Here are the valid `escape sequences`:idx: for character
|
||||
literals:
|
||||
@@ -270,7 +272,7 @@ literals:
|
||||
Escape sequence Meaning
|
||||
================== ===================================================
|
||||
``\r``, ``\c`` `carriage return`:idx:
|
||||
``\l`` `line feed`:idx:
|
||||
``\n``, ``\l`` `line feed`:idx:
|
||||
``\f`` `form feed`:idx:
|
||||
``\t`` `tabulator`:idx:
|
||||
``\v`` `vertical tabulator`:idx:
|
||||
|
||||
Reference in New Issue
Block a user