Commit Graph

7463 Commits (baceb82d5cd0a738ebbdddd11df71dea9a3a900b)

Author SHA1 Message Date
Damien Doligez 0c26c850b3 "invalid module name" becomes a warning
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:53:54 +00:00
Damien Doligez a76ddd0f12 doc detail
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9073 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:33:21 +00:00
Damien Doligez f609381328 better test for BSD dynlinker
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:31:47 +00:00
Xavier Leroy f747f75664 Forgotten include
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9071 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:20:27 +00:00
Xavier Leroy 62b2e16e8a PR#4609: Win32Unix lockf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9070 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 11:49:30 +00:00
Xavier Leroy 2ea9e887af Fixed error handling. Added credit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 11:47:39 +00:00
Nicolas Pouillard 35205da90c camlp4,bootstrap: again
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9068 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 17:18:25 +00:00
Nicolas Pouillard 70add65225 camlp4: fix the revised printer of functor apps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9067 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 16:30:55 +00:00
Nicolas Pouillard 926961ed06 camlp4,printer: Fix a printing bug, parens in "include(struct end:sig end)"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9066 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 16:25:28 +00:00
Nicolas Pouillard a71f5a0fe2 camlp4,bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 15:27:04 +00:00
Nicolas Pouillard 22e2f4b84a camlp4: yet another fix about seq_expr.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 15:26:54 +00:00
Nicolas Pouillard a577f8d889 camlp4: quick fix the previous patch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9063 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 17:08:02 +00:00
Nicolas Pouillard 3ea6411500 camlp4: Fix the PR#4420 bug, object...end is sadly not a simple expression
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9062 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 16:54:05 +00:00
Nicolas Pouillard bc3b901b30 camlp4: Fix a bug about the parsing of sequences
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 16:50:21 +00:00
Nicolas Pouillard 91af8d2477 camlp4: Fix the PR#4532 bug about parsing of tuples vs list or sequences
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 16:49:54 +00:00
Nicolas Pouillard 4379a09dc3 camlp4: Fix the PR#4520 about the conversion of special cases (like A.False).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9059 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 11:11:09 +00:00
Nicolas Pouillard 22d5cc125e camlp4,fix: Deeply fix the grammar about extra semicolons
Indeed longstanding series of bugs PR#4603, PR#4330,
PR#4551 were hiding some flaws in the grammars.
So the extra semicolon allowed in record expressions,
record patterns, record declarations, objects ({<...>}),
object types (< ... >), was allowed by this bug and
not by the grammar.

This patch fix the grammars.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 10:47:56 +00:00
Nicolas Pouillard 042b344ab2 camlp4: fix a bug hidden by a previous one (extra semicolon in {a=b;})
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 16:20:02 +00:00
Nicolas Pouillard dc27d2774b camlp4: fix mkcamlp4 by pointing to the real lib name
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9056 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:50:09 +00:00
Nicolas Pouillard 2446372311 camlp4: remove the buggy/unfinished Camlp4Tracer filter.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9055 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:41:25 +00:00
Nicolas Pouillard db5e084aa2 camlp4: little cleanup in Grammar.Static
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9054 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:28:05 +00:00
Nicolas Pouillard cdd0860804 camlp4: Fix PR#4603, PR#4330, PR#4551 all at one (thanks to Jerome Vouillon)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9053 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:18:37 +00:00
Nicolas Pouillard 5b5ef4a8d2 camlp4,tests: be more precise in pr4330.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:18:22 +00:00
Luc Maranget 31b8fd252e Un peu de menage au passage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:02:55 +00:00
Nicolas Pouillard da8f0e0b96 camlp4: add Jean-vincent Loddo to contributors of camlp4 macros.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 14:19:19 +00:00
Nicolas Pouillard 20703cd0e3 camlp4,tests: more test for macros.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 14:16:05 +00:00
Nicolas Pouillard 6c2b921c79 camlp4,macro: Fix the difinition/expansion of macros that are inside IFDEFs
Thanks to Jean-vincent Loddo for providing this patch.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9048 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 14:15:52 +00:00
Nicolas Pouillard d58c21272e camlp4,examples: add examples for FreeVars
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 13:06:37 +00:00
Nicolas Pouillard 6335958c20 camlp4,fix,freevars: now handle all binding cases.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 13:06:19 +00:00
Xavier Leroy c0f298d68a Revised lockf implementation (PR#4609)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 08:48:44 +00:00
Nicolas Pouillard 1ede9c14d9 ocamlbuild: Progress on PR#4575 handle '\r' in chomp.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-01 08:36:26 +00:00
Pierre Weis 5f5a19a541 PR#4582 is closed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9043 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-28 21:12:51 +00:00
Pierre Weis b038820dc8 Configuration of dll search paths on BSD systems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-28 21:11:45 +00:00
Pierre Weis 232a8a0072 caml_all_opened_channels must be exported for systhreads/posix.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 21:16:29 +00:00
Pierre Weis 579eb1e41e Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9040 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:50:01 +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 9aeb72aa0d Better semantics for fscanf. For the record: PR#4562, PR#4605, PR#4614.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9038 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:43:19 +00:00
Xavier Leroy 9cc0b9a01a PR#4577: reinitialize thread machinery after fork
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 10:46:55 +00:00
Jacques Garrigue ff88bbc575 fix PR#4614
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-26 07:35:24 +00:00
Nicolas Pouillard 7b822718b8 camlp4,fix,bug,loc: Fix the PR#4521 bug about locations (thanks to Jerome Vouillon)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9035 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-23 00:07:45 +00:00
Nicolas Pouillard ff4580e3b8 camlp4: even more test fixtures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-19 12:56:26 +00:00
Nicolas Pouillard f0de463f28 camlp4: more test fixtures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-19 12:54:10 +00:00
Nicolas Pouillard d385cf8591 camlp4: more examples and tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-19 12:50:41 +00:00
Xavier Leroy 7d912ae76a PR#4390: ajout caml_raise_with_args
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-18 11:49:21 +00:00
Xavier Leroy cfec1dd5d8 PR#4390: ajout caml_raise_with_args
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-18 11:23:28 +00:00
Xavier Leroy 444fdef24f MAJ pre 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-18 09:06:37 +00:00
Damien Doligez 61d26f938a no integer in weak arrays (preparing an optimization)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-17 14:55:30 +00:00
Damien Doligez 6b3a3d371f PR#3915 update documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-15 14:25:42 +00:00
Damien Doligez 388be69249 PR#3915 update documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-15 14:12:56 +00:00
Damien Doligez 448f1e4fc8 PR#3915 update documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9025 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-15 14:05:30 +00:00