Commit Graph

6889 Commits (39a65f59dcab1bc283be1cb7b5aad96381e14619)

Author SHA1 Message Date
Nicolas Pouillard 114db8aaea [ocamlbuild] More documentation (in particular all the PLUGIN sig is doc).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:06:58 +00:00
Nicolas Pouillard 68072dfe87 [ocamlbuild] Implement default tags in a simpler way.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8666 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:06:13 +00:00
Nicolas Pouillard f835cca505 [ocamlbuild] Move tag_any and tag_file to Configuration but still export them in Ocamlbuild_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:03:48 +00:00
Nicolas Pouillard ae46dfee1c [ocamlbuild] Add the Digest_cache module.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8663 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:02:14 +00:00
Nicolas Pouillard de914acf4b [ocamlbuild] Update the expected test output.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 15:52:01 +00:00
Nicolas Pouillard 9f3fcc249e [camlp4] Fix a location bug inside quotations (PR#4357).
Take in account the fact that the two first characters of a quotation literal
in the case of "<:" or "<@" are already counted. So decrement by 2 the shifts
made on these locations.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:38:21 +00:00
Nicolas Pouillard 6c56e2b039 [build] [FIXED] Provide more dependencies for camlp4 native binaries to avoid miss recompilations.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:36:30 +00:00
Nicolas Pouillard af74b19b24 [camlp4] Constrain a little more the printer before a <- or :=.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:35:48 +00:00
Nicolas Pouillard f5a6924be6 [camlp4] [Printers.Ocaml] Protect list items from semicolons (PR#4427).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:34:24 +00:00
Nicolas Pouillard 8d0b054177 [camlp4] More printing fixtures.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:33:31 +00:00
Nicolas Pouillard efc1254793 [camlp4] Use the constraint keyword instead of type in class signatures too (PR#4419).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:32:08 +00:00
Nicolas Pouillard bf56fe7082 [camlp4] Print a break after the unary minus (PR#4417).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:31:31 +00:00
Nicolas Pouillard e3ade8ec81 [camlp4] Parse also <<val mutable virtual id : ty>> (PR#4417).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:37:47 +00:00
Nicolas Pouillard 51285046e8 [camlp4] Add the test case for PR#4337.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:36:17 +00:00
Nicolas Pouillard e4bd83e07f [camlp4] Now supports the useless syntax: <<fun patt when guard -> expr>> (PR#4331).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:34:33 +00:00
Nicolas Pouillard bba53a1bc8 [camlp4] Fix a bug in the printer of negative numeric values (PR#4332).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:32:38 +00:00
Nicolas Pouillard ad0428b1a3 [camlp4] Remove useless code due to inheritance of revised grammar.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:30:39 +00:00
Nicolas Pouillard d766f56732 [camlp4] Add two fixture files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:29:57 +00:00
Nicolas Pouillard c5c1abddb6 [camlp4] Fix Camlp4OCamlRevisedParser.name to "Camlp4OCamlRevisedParser".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:27:22 +00:00
Nicolas Pouillard 9577fdf3d3 [camlp4] Fix a bug in parsing operators (let _ : ty = e) (PR#4312).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:26:32 +00:00
Nicolas Pouillard 63fe382081 [build] PACKLD is now defined in config/Makefile.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:29:31 +00:00
Nicolas Pouillard b2b3f705fd [camlp4] Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:28:47 +00:00
Nicolas Pouillard ec80b5a386 [build] camlp4/boot/camlp4boot.byte use Dynlink.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8641 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:23:12 +00:00
Nicolas Pouillard b527c48996 [build] Adapt utils/config.mlbuild to native dynlink.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:22:59 +00:00
Nicolas Pouillard af0b1ac635 [build] Sync the _tags file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:22:21 +00:00
Nicolas Pouillard d03fb7ff7a [build] Sync scripts in the build/ dir with release310.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8638 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:21:53 +00:00
Nicolas Pouillard 255e7082ef [camlp4] Restore the private types support.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 10:39:56 +00:00
Alain Frisch b80de0f7da More tests.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 09:21:31 +00:00
Nicolas Pouillard ec8b4e0b7b [build] Sync myocamlbuild.ml with 3.10.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8629 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 15:03:21 +00:00
Nicolas Pouillard 3d1f738e14 [ocamlbuild] Fix a backtracking bug in my stupid matcher.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:29:54 +00:00
Nicolas Pouillard 51c984596e [ocamlbuild] Non command lines should start with # in the log file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:28:55 +00:00
Nicolas Pouillard c5164d4dca [ocamlbuild] Fix a lexing bug about comments at end of file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8626 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:28:18 +00:00
Nicolas Pouillard a4fbbfc2f4 [ocamlbuild] Add support for camlp4oof.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:27:39 +00:00
Nicolas Pouillard d0f6c03046 [ocamlbuild] Neither traverse the build dir (even if it does not starts with _) (PR#4410).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:27:03 +00:00
Nicolas Pouillard 797b75ec4a [ocamlbuild] Look at OCAMLLIB before using the hard-coded (during build) install path (PR#4379).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:24:26 +00:00
Nicolas Pouillard 7ccbe53649 [ocamlbuild manual] Talk about making libraries and toplevel (PR#4356).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:21:00 +00:00
Nicolas Pouillard fe492f4516 [ocamlbuild manual] Updating to the new location of the log file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:06:00 +00:00
Nicolas Pouillard ef00b672ec [ocamlbuild] Forbid non implicit pathnames as include/exclude directories (PR#4304).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:04:25 +00:00
Nicolas Pouillard ca536a8458 [ocamlbuild] Update the test output. Since the shell now use more quotes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8618 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:02:51 +00:00
Damien Doligez 16bd7d60cc add .PHONY annotations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-23 10:54:26 +00:00
Damien Doligez 6aed4b19a5 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 22:14:43 +00:00
Damien Doligez 16e4a68197 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:50 +00:00
Nicolas Pouillard d0f5ecfa76 [build] Regen boot/myocamlbuild.boot.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:21 +00:00
Nicolas Pouillard 9966c05ede [ocamlbuild] Use the log file even if we are just making a plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:58:39 +00:00
Nicolas Pouillard aeaed191ed [ocamlbuild] Don't try to remove link to build when the feature is off.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:58:20 +00:00
Nicolas Pouillard e49b8c08d8 [camlp4] Add an example about the "debug" syntax extension.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:56:01 +00:00
Nicolas Pouillard a4154feec7 [ocamlbuild] Make the log file live in the build directory (PR#4313).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:53:38 +00:00
Nicolas Pouillard a4618ecfbb [ocamlbuild] [test] Opening Ocamlbuild_pack is useless.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:51:48 +00:00
Nicolas Pouillard c938a1964d [ocamlbuild] [test] Wrap decls in a dispatch call.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:51:13 +00:00
Nicolas Pouillard 5d85b57cb1 [ocamlbuild] Reflect in rules that cmi cannot go in libraries.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:50:29 +00:00