summaryrefslogtreecommitdiffstats
path: root/stdlib/scanf.ml
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2012-05-29 12:31:28 +0000
committerAlain Frisch <alain@frisch.fr>2012-05-29 12:31:28 +0000
commit4dcc69b52cd2fb179d278339ba3dcf56be9e642d (patch)
tree98f16f38e5b9edc7aa794163f00d57d279d02a2c /stdlib/scanf.ml
parent5035a24bd0451a72e6230d6fa2bd663b2053211b (diff)
Detect (and fix some) useless recursive flags.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/scanf.ml')
-rw-r--r--stdlib/scanf.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/scanf.ml b/stdlib/scanf.ml
index cac4a136a..b619bf8f0 100644
--- a/stdlib/scanf.ml
+++ b/stdlib/scanf.ml
@@ -1032,7 +1032,7 @@ let scan_range fmt j =
scan_closing (j + 1)
| _ -> scan_closing j in
- let rec scan_first_neg j =
+ let scan_first_neg j =
if j >= len then incomplete_format fmt else
match Sformat.get fmt j with
| '^' ->