Damien Doligez
18962fdd15
fix whitespace and over-long lines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13428 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:19:29 +00:00
Damien Doligez
44d2d94fe5
fix undeclared variable
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13427 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:19:21 +00:00
Damien Doligez
12f179b360
fix whitespace and over-long lines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13426 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:18:26 +00:00
Damien Doligez
ce4d6f7995
fix wrong error message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:02:34 +00:00
Damien Doligez
d9dc859227
added more stuff
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 18:01:09 +00:00
Damien Doligez
b2636c22d5
PR#5921 "compact unwind" warnings under MacOS
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13423 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 17:57:53 +00:00
Jérémie Dimino
4b625179f5
Fix PR#5953
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13421 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 11:42:28 +00:00
Alain Frisch
f85f1e2759
Get rid of alternative syntax for '(module...)'.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13420 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 11:30:28 +00:00
Alain Frisch
b9ad592ac0
Infix syntax for attributes/extension nodes restricted to expression constructions starting with a (combination of) keywords.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13419 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-22 11:25:52 +00:00
Alain Frisch
734a4b6816
Fix example.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-21 08:53:42 +00:00
Pierre Weis
677f402f68
A more CamlTk-ish version.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 19:51:45 +00:00
Pierre Weis
5392f6f13e
@@ should be written \@\@ for Ocamldoc...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 19:25:24 +00:00
Pierre Weis
5d1d2b5cb6
Details.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 17:49:49 +00:00
Pierre Weis
635604d822
Typo: get_formatter_out_functions was redefined. Doc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13414 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 10:14:31 +00:00
Pierre Weis
a2c500f8bc
Details.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 08:06:06 +00:00
Pierre Weis
559521f125
Documentation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 08:02:15 +00:00
Pierre Weis
54b4e5e79e
sprintf now compatible with proper %a application with formatters. Deprecating pp_ versions of get/set_all_formatter_output_functions. Documentation review.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 07:58:59 +00:00
Gabriel Scherer
75b8c0184f
PR#5933 type-specialize 'let compare = compare' on ints and strings
...
According to the reporter 'sliquister', type-specialized comparison
can nearly halve compilation time in some cases. This patch applies
type-specialization throughout the OCaml distribution sources, so not
all changes will have performance utility, but in this case I think
it's best to be consistent, as I see no downside to the change.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 07:22:12 +00:00
Gabriel Scherer
e51284dd06
PR#5933: don't generate _app shortcuts above fixed arity to avoid quadratic blowups (patch by Valentin Gatien-Baron)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 07:16:46 +00:00
Damien Doligez
3455ffd361
Allow parentheses around the typexpr in "type t = [> typexpr ]".
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-18 20:17:14 +00:00
Damien Doligez
d78a0b0bc3
Do not let indentation grow without bound when pretty-printing the parse tree.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-18 20:15:21 +00:00
Damien Doligez
7b31f54095
It is no longer necessary to keep pre-processed files in case of errors
...
(see commits 3817 and 5224,5302,5816)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-18 20:13:53 +00:00
Damien Doligez
01c5a492a4
ignore generated files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-18 14:10:42 +00:00
Damien Doligez
e2b99fcc17
do not attempt to check typography
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13404 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-18 14:09:59 +00:00
Damien Doligez
9e5de6fb02
update some programs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-18 14:09:24 +00:00
Gabriel Scherer
0b2eaffff3
PR#5954 fix 'defface' use in emacs/caml-help.el (patched by 'zakkak')
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13402 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-17 17:17:21 +00:00
Damien Doligez
839741049c
simplified and extended
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-17 15:47:09 +00:00
Damien Doligez
c2691b0885
ignore generated files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-17 15:46:38 +00:00
Damien Doligez
03d5a3378a
typos in comment
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-17 15:46:15 +00:00
Damien Doligez
2af9e254d1
typo in comment
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13398 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-17 15:40:57 +00:00
Jacques Garrigue
389e3a789b
Fix PR#5948
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-13 04:59:10 +00:00
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
Alain Frisch
b0987fd693
Attributes on expresions (etc) are now stored in the expression record, to facilitate pattern matching on structured fragments of AST while ignoring attributes. Introducing a new Ast_helper module to help creating AST fragments.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13381 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 14:59:45 +00:00
Alain Frisch
556d070fdb
Adapt examples.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13380 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 09:36:55 +00:00
Alain Frisch
7c4129960b
Adapt examples.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13379 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 09:34:02 +00:00
Alain Frisch
a483bbaaf4
Experimenting with alternative syntax for extension nodes (as an annotation on the opening keyword/delimiter).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13378 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 09:17:30 +00:00
Alain Frisch
ab2a491ba0
Support attributes on opening delimiter/keyword for all kinds of expressions.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 08:42:53 +00:00
Alain Frisch
dec300a026
Allow seq_expr, not only expr as argument of attributes/extension nodes. This allows us to write [%do a; b; c <-- d; f c; ...].
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 08:18:01 +00:00
Alain Frisch
a9148b249e
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 15:33:13 +00:00
Alain Frisch
cbf93255c5
Doc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 15:29:30 +00:00
Alain Frisch
07e81b2f0d
Examples. Also accept uppercase idents (and some keywords) as ids for attributes/extension nodes.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13373 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 15:29:11 +00:00
Alain Frisch
eaf9e3744a
It is now possible to start a signature or a structure with a ';;' token and to have two successive ';;' tokens.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 14:15:23 +00:00
Alain Frisch
72a638757c
Stand-alone ("floating") sig_item/str_item attributes now use the
...
standard syntax for item attributes. They are recognized at the
beginning of the signature/structure and after a ";;" token.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13371 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 13:46:44 +00:00
Alain Frisch
378c1d92df
Simplify.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 13:13:36 +00:00
Alain Frisch
a555c12f52
Support attributes on recursive modules.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-07 13:07:32 +00:00