diff options
author | Alain Frisch <alain@frisch.fr> | 2012-07-18 12:29:54 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2012-07-18 12:29:54 +0000 |
commit | e9386ad8ed2f8053097f55743f87fdfc8d57792b (patch) | |
tree | 8eaeed0247c65adda15a5a441ddcd72bc1f4ffc6 /ocamldoc/odoc_html.ml | |
parent | 24514dc5b14d29c8f1ec736c5cfbd3194a35db59 (diff) | |
download | ocaml-autofocus.tar.gz |
New modifier in record declaration (after 'mutable'): 'match'. This enables autofocus for patterns which are not wildcard, variable, alias, constraint, or-pattern.autofocus
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/autofocus@12728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/odoc_html.ml')
-rw-r--r-- | ocamldoc/odoc_html.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ocamldoc/odoc_html.ml b/ocamldoc/odoc_html.ml index 369114d74c..c016773e14 100644 --- a/ocamldoc/odoc_html.ml +++ b/ocamldoc/odoc_html.ml @@ -1521,6 +1521,7 @@ class html = bs b "</td>\n<td align=\"left\" valign=\"top\" >\n"; bs b "<code>"; if r.rf_mutable then bs b (self#keyword "mutable ") ; + if r.rf_focus then bs b (self#keyword "match ") ; bs b (r.rf_name ^ " : ") ; self#html_of_type_expr b father r.rf_type; bs b ";</code></td>\n"; |