Luc Maranget
c417b82d9e
nouveau ocamllex
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 16:46:50 +00:00
Damien Doligez
a0aa7eda67
modif de string_of_float pour afficher tous les chiffres
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:20:53 +00:00
Damien Doligez
ffabc5b01a
doc plus precise pour int_of_string
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:19:32 +00:00
Damien Doligez
4aef78fc74
PR#1423
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5175 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 19:01:19 +00:00
Pierre Weis
27c443e152
Bug in the scanning of characters at end of file (
...
sscanf "" "%[^\n\r]\n" must succeed and return the empty string).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-10 10:08:18 +00:00
Pierre Weis
e42e2b9266
Revised semantics of @c: the c character is now skipped by default.
...
This behaviour is documented.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-08 06:46:15 +00:00
Pierre Weis
51eb3bad54
A lot of modifications: provision for unsigned numbers in binary
...
notation + addition of a new ``bof'' field in input buffers to detect that
no chars have ever been read + careful check and debugging of reading
from empty buffers + code review. Addition of stdib for reading from stdin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:20:07 +00:00
Pierre Weis
739479921d
Provision for unsigned numbers in binary notation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5159 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:16:03 +00:00
Pierre Weis
e95dce8553
Provision for printing of unsigned numbers in binary notation.
...
(Still to be revised.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-07 12:15:17 +00:00
Damien Doligez
007f9a7551
ajout _ dans les nombres; ajout \xhh dans les chaines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-02 12:25:15 +00:00
Damien Doligez
0d5055997a
PR#1378
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-27 14:20:58 +00:00
Damien Doligez
7f968224ae
probleme out-of-bounds string/array access sur Mac OS 10.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-23 18:03:56 +00:00
Damien Doligez
dd63c45e38
PR#1379
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-18 13:59:27 +00:00
Damien Doligez
47ae2e8b0a
PR#1384
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-17 13:45:33 +00:00
Jacques Garrigue
cc07ebe27d
corrige PR#1374: univar aliasee en variable de rangee
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-07 01:45:16 +00:00
Pierre Weis
66f225a7bf
Too optimistic implementation of %F format: we have to do the all job on
...
the Caml side.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-06 10:05:33 +00:00
Pierre Weis
a96f8f0e87
Formats %B and %F.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5119 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:38:11 +00:00
Pierre Weis
c89dbcc9e0
Introducing the (compiler private) helper function to turn out a
...
string representation of a floating point number to a valid Caml token
(valid_float_token).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:31:18 +00:00
Pierre Weis
0d986a420a
Introducing new format %F and %B to print parsable float and bools.
...
(For bools format B is equivalent to format b, which can now be used
for something else: printing integers in binary format ?).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:27:34 +00:00
Xavier Leroy
c5e13cd23f
MAJ numero de version
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 14:16:12 +00:00
Damien Doligez
e41863b492
changement overhead par defaut -> 80
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5062 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-01 14:14:10 +00:00
Xavier Leroy
23be5a960f
Documenter le probleme avec let rec x = lazy x
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-30 13:02:56 +00:00
Pierre Weis
05406fd635
Typos.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5053 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:51:51 +00:00
Pierre Weis
0146dc27f9
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:46:07 +00:00
Pierre Weis
6c15753d0f
Revu le traitement de %S (les @c ne sont pas nécessaires vus les
...
guillemets délimiteurs).
Revu le traitement des blancs en fin de fichier et les formats à
indication de scanning erronées (format terminé par @).
Revu le type de kscanf.
Revu la documentation des indications de scanning.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-28 21:29:42 +00:00
Xavier Leroy
8bf3b5a36a
Documentation plus precise
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-27 16:28:23 +00:00
Xavier Leroy
6970e8c7fa
Identifier %x et %X; bug parsing entiers octal et hexa (PR#1260); 8 n'est pas un chiffre octal. Signe: Damien & Xavier
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 15:24:58 +00:00
Xavier Leroy
1c2eda75a7
ocamldoc n'aime pas [@c] ...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5039 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 14:06:19 +00:00
Xavier Leroy
2864c78b57
Petites modifs dans les commentaires de doc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 12:17:35 +00:00
Xavier Leroy
12e24290b8
Petites modifs dans les commentaires de doc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-25 12:11:29 +00:00
Damien Doligez
794633663d
bug Weak.Create(_).iter
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 16:10:00 +00:00
Damien Doligez
f5f0b6c1dd
changement de spec numero de version
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:35:30 +00:00
Damien Doligez
37bf95c248
detabisation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:12:03 +00:00
Xavier Leroy
30fdb75855
Reformattage documentation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 13:40:02 +00:00
Damien Doligez
8bd27a45b4
deps
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 15:48:45 +00:00
Xavier Leroy
38b49667b1
MAJ dependances
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5016 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 13:38:00 +00:00
Xavier Leroy
2b7a057f2f
Passage version 3.05
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-22 13:36:57 +00:00
Xavier Leroy
88cf96e3bd
Clarification doc de close_in et close_out (PR#1235)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5002 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-18 08:44:51 +00:00
Jacques Garrigue
9617cdedcd
add scanf
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-15 01:10:33 +00:00
Xavier Leroy
ede12e6163
Remplacement des tests ofs + len > length par ofs > len - length, pour eviter le debordement lors de l'addition (PR#1229)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-12 09:47:54 +00:00
Pierre Weis
4865d98f29
Errors in documentation + the error continuation now takes as argument
...
the exception that was raised during scanning instead of a string
explaining the problem + proper end of file detection.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-11 22:39:26 +00:00
Damien Doligez
3932ce2651
alldepend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 12:13:48 +00:00
Pierre Weis
a829d1d7d6
Using formats %S and %C.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:27:14 +00:00
Pierre Weis
de4faabfce
Exception Scan_failure gets a string argument only.
...
Failure exception is no more trapped for each convertion: it is
trapped instead in the main scanning loop.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4958 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:20:25 +00:00
Pierre Weis
d7e240f4d9
Documentation of kscanf + simplification of exception Scan_failure.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4957 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:18:11 +00:00
Xavier Leroy
26fb2b92ac
Ajout operation is_empty
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 08:48:26 +00:00
Xavier Leroy
376626863e
Nettoyages documentation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4954 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 14:52:34 +00:00
Pierre Weis
17db5ace3e
Introducing kscanf, the scanning function with an additional error continuation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:32:27 +00:00
Pierre Weis
72d45abf8a
Introducing kscanf, the scanning function that has an extra
...
continuation argument for scanning failures.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:31:02 +00:00
Xavier Leroy
9e3dc0cd97
Ajout d'un type t et d'une fonction compare pour permettre l'utilisation de ce module avec la signature OrderedType
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4948 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 09:13:59 +00:00