summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLeo White <leo@lpw25.net>2015-06-28 13:11:50 +0000
committerLeo White <leo@lpw25.net>2015-06-28 13:11:50 +0000
commit5c55e4cc0869436e544321ebdcc187df70ac7a82 (patch)
tree8b7980d665261230a916858022c2e41f78cebee7 /man
parenta90f0e4c638ddf94e6b5bbfbd20b4ae2ddfa0c12 (diff)
downloadocaml-5c55e4cc0869436e544321ebdcc187df70ac7a82.tar.gz
Attach documentation comments to Parsetree
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16189 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'man')
-rw-r--r--man/ocamlc.m20
-rw-r--r--man/ocamlopt.m3
2 files changed, 22 insertions, 1 deletions
diff --git a/man/ocamlc.m b/man/ocamlc.m
index 3b526f7eec..3cd4e7447d 100644
--- a/man/ocamlc.m
+++ b/man/ocamlc.m
@@ -374,6 +374,9 @@ Recognize file names ending with
.I string
as interface files (instead of the default .mli).
.TP
+.B \-keep-docs
+Keep documentation strings in generated .cmi files.
+.TP
.B \-keep-locs
Keep locations in generated .cmi files.
.TP
@@ -829,6 +832,21 @@ mutually recursive types.
45
\ \ Open statement shadows an already defined label or constructor.
+46
+\ \ Error in environment variable.
+
+47
+\ \ Illegal attribute payload.
+
+48
+\ \ Implicit elimination of optional arguments.
+
+49
+\ \ Missing cmi file when looking up module alias.
+
+50
+\ \ Unexpected documentation comment.
+
The letters stand for the following sets of warnings. Any letter not
mentioned here corresponds to the empty set.
@@ -882,7 +900,7 @@ mentioned here corresponds to the empty set.
.IP
The default setting is
-.BR \-w\ +a\-4\-6\-7\-9\-27\-29\-32..39\-41..42\-44\-45 .
+.BR \-w\ +a\-4\-6\-7\-9\-27\-29\-32..39\-41\-42\-44\-45\-48\-50 .
Note that warnings
.BR 5 \ and \ 10
are not always triggered, depending on the internals of the type checker.
diff --git a/man/ocamlopt.m b/man/ocamlopt.m
index fa3db5df8c..9a3a9b3bd3 100644
--- a/man/ocamlopt.m
+++ b/man/ocamlopt.m
@@ -304,6 +304,9 @@ Recognize file names ending with
as interface files (instead of the default .mli).
.TP
.B \-keep-locs
+Keep documentation strings in generated .cmi files.
+.TP
+.B \-keep-locs
Keep locations in generated .cmi files.
.TP
.B \-labels