Jacques Garrigue
32de864a67
improve Ambiguous_name warning
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-12 14:56:15 +00:00
Gabriel Scherer
725da3dcc9
user-exposed abstract type for raw backtraces in Printexc.ml (original patch from Jacques-Henri Jourdan)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-11 19:04:12 +00:00
Damien Doligez
c63f9e0957
fix a few problems with whitespace and over-long lines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 22:38:52 +00:00
Damien Doligez
fb36548704
typo adjustments
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 00:33:21 +00:00
Damien Doligez
4b870ecd0f
add support for 4.00.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 00:32:46 +00:00
Damien Doligez
dc25c4a7d6
add a few more cases
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 00:31:47 +00:00
Pierre Weis
a81a5b038c
Labtk now supports 8.6.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 19:31:47 +00:00
Pierre Weis
c2b3b25823
Imported from caml_examples.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 19:27:45 +00:00
Pierre Weis
fe12fa4993
Imported from caml_examples.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13325 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 19:27:19 +00:00
Pierre Weis
982cce6721
Adding taquin (from caml_examples) to the examples.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 19:23:39 +00:00
Pierre Weis
f3ffe32385
Some rewriting.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13323 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 19:20:54 +00:00
Pierre Weis
3755a158de
Refactoring the Makefile for binary compilation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 18:40:50 +00:00
Pierre Weis
87fd19501d
Get rid of spurious warnings for unused variables.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13321 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-27 17:45:59 +00:00
Damien Doligez
8b480cb9e2
fix a few of the warnings given by newer versions of gcc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 12:47:13 +00:00
Damien Doligez
d3d363a1a6
typo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 12:46:28 +00:00
Damien Doligez
90dd916144
typo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 12:46:09 +00:00
Damien Doligez
5cab09944e
add a few more cases
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 12:45:45 +00:00
Damien Doligez
5f859e648a
update to latest version of a few programs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 12:45:32 +00:00
Damien Doligez
6d34f34e59
PR#5928: Missing space between words in manual page for ocamlmktop
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26 10:36:33 +00:00
Wojciech Meyer
dc9834c4a4
misc: replace stat_(alloc|free|resize) occurences with caml_stat_(...).
...
byterun/compatibility.h defines:
#define stat_alloc caml_stat_alloc
#define stat_free caml_stat_free
#define stat_resize caml_stat_resize
Having the "caml_" prefix seems cleaner to me, it also avoids some
issues for cross-compilation but I don't remember well which ones.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:31 +00:00
Wojciech Meyer
fb17e50db5
byterun/win32.c: use < > to #include flexdll.h instead of "".
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:28 +00:00
Wojciech Meyer
1b9b819f39
byterun/Makefile: use $(MKLIB) instead of ar + $(RANLIB).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:27 +00:00
Wojciech Meyer
cc09d10bf9
yacc: "ocamlyacc$(EXE)" rule produced "ocamlyacc" (no trailing $(EXE)).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13311 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-25 03:01:26 +00:00
Gabriel Scherer
243fc1ce10
fix Changes entry
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13310 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-24 10:14:33 +00:00
Gabriel Scherer
bca20db060
fix PR#5930: ocamldep leaks temporary preprocessing files
...
Ah, if we had let-try...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-24 09:11:29 +00:00
Hongbo Zhang
23994ac6de
pprintast.ml: fix a bug for printing private types and tune some identations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13308 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-22 04:04:16 +00:00
Damien Doligez
4d7a8f8bd3
Add some test cases for syntactic constructs that are never used.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13300 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-19 10:23:37 +00:00
Damien Doligez
43d02c2020
PR#5835: the fix was changed to be compatible with existing programs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-19 10:17:56 +00:00
Jacques Garrigue
1f5882e53d
Replace error by warning for PR#5835
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-19 03:12:36 +00:00
Jacques Garrigue
c76b791ca4
Add warning 42 for disambiguated labels and constructors (compatibility with old versions)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13297 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-19 02:45:09 +00:00
Fabrice Le Fessant
8364a09153
PR#5461: fix warnings 31 in camlp4 compilation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13296 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-18 12:09:06 +00:00
Jacques Garrigue
0a9bf33ba3
test case from PR5918
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13293 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-13 01:39:48 +00:00
Pierre Weis
4a6a0c199d
Normalization.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-12 08:14:49 +00:00
Pierre Weis
72cf9f780e
Tabify.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-12 08:14:24 +00:00
Jacques Garrigue
dc34e6d938
add -short-paths flag for printing shorter types when using modules
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13290 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-09 08:42:11 +00:00
Alain Frisch
b54d688d1a
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13289 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-08 06:04:36 +00:00
Jacques Garrigue
40ee2b4e6f
small fixes on GADT ambiguity levels
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13288 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-01 10:20:21 +00:00
Jacques Garrigue
d762415084
pprintast
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13287 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-01 02:21:21 +00:00
Jacques Garrigue
0212750b67
subtyping of impure functors
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-31 07:01:52 +00:00
Jacques Garrigue
26e1ff7138
Merge short-paths into a fresh branch of trunk.
...
Also fix a bit unification and subtyping errors.
You now need the flag -short-path to activate short paths.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/short-paths-4.01@13285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-29 14:21:12 +00:00
Jacques Garrigue
d327f16c33
new branch for preparing short paths merge
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/short-paths-4.01@13284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-29 10:04:46 +00:00
Jacques Garrigue
1b5d02346c
Fix PR#5911: substituting in submodules should not be allowed
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13282 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-29 00:54:06 +00:00
Jacques Garrigue
4c9e622875
Fix PR#5907
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13280 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-26 01:43:11 +00:00
Jacques Garrigue
7e1ef88057
fix unsoundness of impure functors with unpack
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13279 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 11:09:43 +00:00
Alain Frisch
ef9fc7ab0f
#5904 : support for -ppx in the toplevel.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13278 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 09:12:31 +00:00
Jacques Garrigue
75b4dbd042
Fix PR#5906
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13276 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 04:26:02 +00:00
Jacques Garrigue
9cf0614300
error message + allow unpack in impure functor body
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13275 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 02:11:04 +00:00
Jacques Garrigue
0582aa4f49
very cheap impure (generative) functors
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13274 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-24 08:31:04 +00:00
Wojciech Meyer
b7c2d04ac9
[ocamlbuild] Real time update of the tests, by flushing the channel after each test result.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13273 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 23:57:14 +00:00
Wojciech Meyer
26d9127a1e
[ocamlbuild] Add some more tests for PR#4592 and PR#5752.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 23:40:19 +00:00