summaryrefslogtreecommitdiff
path: root/doc/ref/api-data.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-01-21 09:21:15 +0100
committerAndy Wingo <wingo@pobox.com>2011-01-21 09:24:36 +0100
commitc869f0c15712830d232513a462c6f66446ca9a71 (patch)
tree7c948d2396e2d4042c12c5d7ade9ef9b4a9688fb /doc/ref/api-data.texi
parent684d664e39dad02f7a44f1c70a753a02d4d1856c (diff)
downloadguile-c869f0c15712830d232513a462c6f66446ca9a71.tar.gz
document hungry-eol-escapes
* doc/ref/api-data.texi (String Syntax): Document hungry-eol-escapes. * doc/ref/api-evaluation.texi (Scheme Read): * doc/ref/api-options.texi (Runtime Options): Update read-options 'help output.
Diffstat (limited to 'doc/ref/api-data.texi')
-rwxr-xr-xdoc/ref/api-data.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index 2c990f9c2..659dc5c0b 100755
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -2671,6 +2671,23 @@ Backspace character (ASCII 8).
@item @nicode{\0}
NUL character (ASCII 0).
+@item @nicode{\} followed by newline (ASCII 10)
+Nothing. This way if @nicode{\} is the last character in a line, the
+string will continue with the first character from the next line,
+without a line break.
+
+If the @code{hungry-eol-escapes} reader option is enabled, which is not
+the case by default, leading whitespace on the next line is discarded.
+
+@lisp
+"foo\
+ bar"
+@result{} "foo bar"
+(read-enable 'hungry-eol-escapes)
+"foo\
+ bar"
+@result{} "foobar"
+@end lisp
@item @nicode{\xHH}
Character code given by two hexadecimal digits. For example
@nicode{\x7f} for an ASCII DEL (127).