Fabrice Le Fessant
f48f2f229c
Fix PR#5396
...
Add the following options to ocamldep:
-sort: print files sorted according to their dependencies
-all: print all dependencies, not only the ones wanted by make
-one-line: don't break lines when they become too long
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 13:46:00 +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
Damien Doligez
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Damien Doligez
31b0292413
renaming "Objective Caml" to "OCaml" (first pass)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-04-26 12:16:50 +00:00
Damien Doligez
3bba52b91c
PR#4857: add -vnum option to all executables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-20 14:06:29 +00:00
Damien Doligez
3b1d0842df
avoid printing spurious spaces
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-07 15:10:20 +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
Xavier Leroy
88c5dc442f
PR#4212: print dependency lines even if there are no dependencies
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8963 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 09:02:55 +00:00
Damien Doligez
14f6e8ad50
PR#3036 add options -impl and -intf to ocamldep
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8786 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-22 15:46:18 +00:00
Damien Doligez
e9a9bf9613
PR#3114 make all error messages start with a location and "Error: "
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Pierre Weis
ab40ed4731
The command ocamldep was generating dependencies with a spurious ./ before the
...
name of the file when the file was in the current directory. Unfortunately,
"./filename" is not always equivalent to "filename": in case of a specific
``filename: '' rule in make files, if a generic rule also matches
``./filename'', then the generic rule is chosen instead of the specific
rule. This occurred in the compilation of the Caml compiler and lead to subtle
bugs!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7853 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 08:10:00 +00:00
Xavier Leroy
b8f4dd64ca
Do not terminate after a preprocessing error
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 13:38:36 +00:00
Damien Doligez
fbea66a95e
fusion des changements 3.09.2 -> 3.09.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Xavier Leroy
2afbda6ea7
Ajout option -modules (cf. PR#4047)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7575 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-31 09:50:35 +00:00
Xavier Leroy
f6fc1f39c1
Revu traitement de l'option -slash (PR#4050). A tester.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-30 11:22:24 +00:00
Damien Doligez
e6007f6057
fusion des changements jusqu'a 3.08.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Damien Doligez
1971a6ba83
changements sur les warnings
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 18:57:04 +00:00
Damien Doligez
39f06c597a
PR#3085 ajout option "-version"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-27 01:04:19 +00:00
Damien Doligez
776a8d59b7
suppression support MacOS9
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-16 15:24:03 +00:00
Damien Doligez
956da0f1a6
pour reconnaitre "-I +foo"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-06 12:41:54 +00:00
Xavier Leroy
0d78a56015
Permettre de placer les sources du module Foo dans Foo.ml aussi bien que dans foo.ml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-03 17:20:39 +00:00
Damien Doligez
ed3123ee87
changement des locations, premiere tranche
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-01 17:06:47 +00:00
Xavier Leroy
0d8157b09d
Ajout flag -slash pour Windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 13:30:00 +00:00
Xavier Leroy
bae0f5d56e
Chercher les infos sur le module Foo dans les fichiers Foo.{cmi,cmx} et foo.{cmi,cmx} (PR#1177)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4896 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 07:35:38 +00:00
Maxence Guesdon
7b4593af4e
séparation ocamldep en main et fonctions réutilisables (pour coamldoc)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-18 15:08:53 +00:00
Jacques Garrigue
0880651aa8
fix PR#972
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-18 07:56:15 +00:00
Damien Doligez
0dbce74fc8
lazy a la Tolmach
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +00:00
Jacques Garrigue
42d1811a93
enrich variant types
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-25 09:54:18 +00:00
Daniel de Rauglaudre
2501268223
Add option -pp for ocamldep
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-04 15:37:39 +00:00
Pierre Weis
d516c6a055
Correction d'une erreur sur la gestion des definitions de modules
...
toplevel (sur le conseil de Judicael Courant).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3472 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-23 16:57:45 +00:00
Damien Doligez
b80c77b025
fix -noassert pour que le typage des assertions soit toujours fait
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-04 15:37:05 +00:00
Xavier Leroy
ab73fdc7f1
Ajout de la construction 'include' dans les structures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-01 09:35:00 +00:00
Pierre Weis
7d4c1e446d
Correction du bug des labels d'enregistrement qualifies dont les noms
...
de modules n'etaient pas pris en compte. Appel du parser sur l'entree
use_file pour accepter aussi les fichiers de commandes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-11-28 07:52:17 +00:00
Jacques Garrigue
5dfbff7f5e
change variance syntax
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-07 10:57:32 +00:00
Jacques Garrigue
83ca813e4b
ajout des variances
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3294 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-06 10:21:07 +00:00
Xavier Leroy
fd8846fecd
Portage Cygwin
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-10 09:58:08 +00:00
Xavier Leroy
668286f4e9
Ouvrir le source en mode binaire pour avoir des numeros de caracteres corrects (PR#175)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3266 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-04 10:09:23 +00:00
Jacques Garrigue
3cc00889ea
typo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-13 05:20:50 +00:00
Xavier Leroy
c4801c35fb
Ajout du renommage d'exceptions
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-12 13:10:29 +00:00
Pierre Weis
b96208b7a2
Revu les impressions du compilateur
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2908 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-06 22:12:09 +00:00
Damien Doligez
eb07ca4f01
fix pattern matching non exhaustif
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-22 17:04:35 +00:00
Xavier Leroy
038ee2456e
Ajout option -native pour eviter la generation de dependances sur les .cmo dans le cas de projets entierement code natif
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2793 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-07 13:08:12 +00:00
Jacques Garrigue
c00be42737
parse correctly -modern files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-13 09:48:38 +00:00
Jacques Garrigue
296fc05470
Merge olabl branch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-30 16:07:38 +00:00
Xavier Leroy
8a85ff7d60
Apres affichage d'une erreur, remettre la sortie sur stdout
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-23 14:55:37 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy
a048d42b10
Ajout du module Formatmsg pour rediriger les messages du systeme vers stdout ou stderr suivant le contexte
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 17:06:33 +00:00
Damien Doligez
378b407626
ocamlcp.ml: ajout de l'option -dparsetree (pas encore implementee)
...
ocamldep.ml: changement du type des locations pour le profiler
ocamlprof.ml: changement des locations, algo en deux passes plus robuste
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2402 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-09-08 17:42:52 +00:00
Xavier Leroy
49fde9068a
En cas d'erreur (de syntaxe p.ex.), passer au fichier suivant au lieu de quitter
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2352 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-03-11 09:56:15 +00:00
Xavier Leroy
b81eec6040
Nouveau ocamldep qui utilise le parser
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-01-27 10:53:54 +00:00