Commit Graph

95 Commits (893a3bed368fb8faee0c2e8c07200e684a6237b9)

Author SHA1 Message Date
Pierre Weis 99451ca83e Implementing the precision feature for Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11255 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-28 21:35:32 +00:00
Pierre Weis 2a2fcade52 Bug #4380.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-25 13:13:54 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Pierre Weis a11d74583a Including correction from 3.12.1.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-06 16:20:28 +00:00
Pierre Weis 0d2a1430d0 Defining type file_name.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10963 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-02-23 18:39:15 +00:00
Pierre Weis 480c99722b @ must be escaped in some strange circumstances!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-02-23 16:36:36 +00:00
Pierre Weis 3922204442 Documentation (Bug #5230).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-02-22 00:32:46 +00:00
Damien Doligez 9209d550c5 PR#4831: use tags @since and @before in std lib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10457 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 18:30:12 +00:00
Pierre Weis 1b5c521bb7 Forgotten export added. Remove spurious warninggs from Oug[1].
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 12:58:01 +00:00
Pierre Weis 6a28a57f52 Clearer documentation for %i conversion and conversions for native 32 and 64 bits integers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 09:22:26 +00:00
Pierre Weis e7b82c9944 More documentation for meta formats %( %).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-25 14:27:26 +00:00
Pierre Weis 33453164fa Wrong link stntax.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 17:10:52 +00:00
Pierre Weis b0ad1602a6 Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 16:24:40 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Pierre Weis 818c9a0742 Adding a close-in function to module Scanf, to be able to close a Scanf scan buffer (hence its underlying Pervasives.in_channel, if any).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-29 19:04:35 +00:00
Pierre Weis 1b5c3a3fbe Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9427 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:46:56 +00:00
Pierre Weis a548eb3a13 Understanding the notion of standard channel for Format and Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-01-25 22:46:15 +00:00
Pierre Weis 5dcc6d8b6b Better semantics for fscanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9039 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:45:05 +00:00
Pierre Weis 2c1693ee00 Added a comment for correction of BR #4041.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-08 12:30:19 +00:00
Pierre Weis fe31f1a1c5 Emphasis in documentation strings was not comformant to Ocamldoc special syntax.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-07 07:25:47 +00:00
Pierre Weis aa29a89d44 Rewriting/simplifying/enhancing the documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 15:56:00 +00:00
Pierre Weis 00f4865bad Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:11:52 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Pierre Weis c2b4fdde78 Better treatment of meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-04 21:02:39 +00:00
Pierre Weis 8e5fb9bb75 Added shared library support for NetBSD and OpenBSD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-08-23 07:43:06 +00:00
Pierre Weis 0efd168f48 Typos reported by Hendrik Tews (PR #4292) No 4, 6, 10, 11.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8275 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-25 07:17:37 +00:00
Pierre Weis 4f37f1c289 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-08 16:58:11 +00:00
Pierre Weis acd9b70661 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-22 08:51:29 +00:00
Pierre Weis 227bc9a094 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-21 12:38:13 +00:00
Pierre Weis 22e8639445 Documentation additions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:37:07 +00:00
Pierre Weis e80a2387f4 Documentation plus new exports.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 10:19:43 +00:00
Pierre Weis dd25537b69 Defining an abbrev to give a readable type to scanf functions. Using format6. Format_from_string specification changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-27 09:12:07 +00:00
Pierre Weis ae5fcbb4c2 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-15 21:58:28 +00:00
Pierre Weis b54571295f Coherent naming of scanning buffer (to avoid confusion with usual Buffer.t
values.)
Revised documentation of the scanf_format family of functions.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-13 07:41:07 +00:00
Pierre Weis 8604fbe7f3 A bit of documentation to explain the behaviour of stdib and more generally the
lookahead behaviour of scanning buffers.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 15:41:42 +00:00
Pierre Weis 176b3c0da8 Module Sformat is internal to printf. Better typing specifications of functions working with format strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 11:49:07 +00:00
Pierre Weis dc068cdbe1 Sscanf_format gets a type consistent with the type of sscanf.
Adding a function scan_format that scan a string to directely return a format4
value.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-12 10:18:18 +00:00
Pierre Weis b970e68b67 New and better wording for scanf_format functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-03 18:25:21 +00:00
Pierre Weis a3b605a2db New function sscanf_format to read a format from a string.
The type of the resulting format is dynamically checked and should be
the type of the template format which is the second argument.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 21:42:44 +00:00
Pierre Weis 564969e68c Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-13 15:44:02 +00:00
Pierre Weis 026ff6d482 Better documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7048 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-13 11:26:06 +00:00
Pierre Weis d21474e7b3 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-11 14:49:57 +00:00
Pierre Weis 1676f61cd6 Documenting the [%s] behaviour on end-of-input and stating that it
never fails.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-16 10:27:28 +00:00
Maxence Guesdon 6088ac221a fix comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-03 08:54:15 +00:00
Damien Doligez 06703fdc45 typo dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 10:41:43 +00:00
Pierre Weis b5c447dba6 Exporting the name_of_input function to get the name of the input
buffer's character source.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6629 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-05 06:54:45 +00:00
Pierre Weis af5c49f878 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-29 09:57:30 +00:00
Pierre Weis b0270c4cf9 Implementation des meta formats.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-22 09:17:21 +00:00
Pierre Weis 695fe90650 Wrong example in character ranges specification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-09-09 07:54:50 +00:00
Damien Doligez a4111b65e5 PR#2799
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-24 11:19:05 +00:00