summaryrefslogtreecommitdiffstats
path: root/stdlib/scanf.mli
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>2005-07-11 14:49:57 +0000
committerPierre Weis <Pierre.Weis@inria.fr>2005-07-11 14:49:57 +0000
commitd21474e7b3e8efa714be9cff383b87162307cba4 (patch)
treeb9bd400531d426e84628268fd5400429d201c586 /stdlib/scanf.mli
parentb20551ecdab1a47c9831c4ad3f5a344ef4c2a0d3 (diff)
Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/scanf.mli')
-rw-r--r--stdlib/scanf.mli10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/scanf.mli b/stdlib/scanf.mli
index cfa1ef658..71c94ec7d 100644
--- a/stdlib/scanf.mli
+++ b/stdlib/scanf.mli
@@ -181,16 +181,16 @@ val bscanf :
For instance, [%6d] reads an integer, having at most 6 decimal digits;
and [%4f] reads a float with at most 4 characters.
- Scanning indications appear just after the string conversions [s] and
- [\[ range \]] to delimit the end of the token. A scanning
+ Scanning indications appear just after the string conversions [s]
+ and [\[ range \]] to delimit the end of the token. A scanning
indication is introduced by a [@] character, followed by some
constant character [c]. It means that the string token should end
just before the next matching [c] (which is skipped). If no [c]
character is encountered, the string token spreads as much as
possible. For instance, ["%s@\t"] reads a string up to the next
- tabulation character. If a scanning indication [\@c] does not
- follow a string conversion, it is ignored and treated as a plain
- [c] character.
+ tabulation character or to the end of input. If a scanning
+ indication [\@c] does not follow a string conversion, it is treated
+ as a plain [c] character.
Raise [Scanf.Scan_failure] if the given input does not match the format.