diff options
author | Araq <rumpf_a@web.de> | 2014-07-01 00:24:40 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-01 00:24:40 +0200 |
commit | 4860b46c7fd2850f8ec30c313434a2aed50c5561 (patch) | |
tree | 243e99737222fdfa0c5b4d301ea5eb6c978f654d /doc/manual.txt | |
parent | e5f2a8ade4da6df5c79078954fa5a60ad4e8c16f (diff) | |
download | Nim-4860b46c7fd2850f8ec30c313434a2aed50c5561.tar.gz |
fixes #1264
Diffstat (limited to 'doc/manual.txt')
-rw-r--r-- | doc/manual.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index b39efb740..e34e1b164 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -263,15 +263,16 @@ String literals can also be delimited by three double quotes ``"""`` ... ``"""``. Literals in this form may run for several lines, may contain ``"`` and do not interpret any escape sequences. -For convenience, when the opening ``"""`` is immediately followed by a newline, -the newline is not included in the string. The ending of the string literal is -defined by the pattern ``"""[^"]``, so this: - +For convenience, when the opening ``"""`` is followed by a newline (there may +be whitespace between the opening ``"""`` and the newline), +the newline (and the preceding whitespace) is not included in the string. The +ending of the string literal is defined by the pattern ``"""[^"]``, so this: + .. code-block:: nimrod """"long string within quotes"""" - + Produces:: - + "long string within quotes" |