aboutsummaryrefslogtreecommitdiff
path: root/doc/refman/RefMan-oth.tex
diff options
context:
space:
mode:
authorMaxime Dénès2014-12-25 22:31:34 +0100
committerMaxime Dénès2014-12-25 22:31:34 +0100
commitdca4b978ff8bfa2eeee864edac4199d9d9df3d5e (patch)
treee37edd3ee401b518dd45b931ee3de6e77b55d761 /doc/refman/RefMan-oth.tex
parent6d5b56d971506dfadcfc824bfbb09dc21718e42b (diff)
Document 6d5b56d971 (forbid Require inside modules).
Diffstat (limited to 'doc/refman/RefMan-oth.tex')
-rw-r--r--doc/refman/RefMan-oth.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/refman/RefMan-oth.tex b/doc/refman/RefMan-oth.tex
index e4c83a59c3..64fab055ea 100644
--- a/doc/refman/RefMan-oth.tex
+++ b/doc/refman/RefMan-oth.tex
@@ -702,6 +702,13 @@ with the mapping used to compile the file.
{\ident}.vo which was bound to a different library name {\dirpath}
at the time it was compiled.
+\item \errindex{Require is not allowed inside a module or a module type}
+
+ This command is not allowed inside a module or a module type being defined.
+ It is meant to describe a dependency between compilation units. Note however
+ that the commands {\tt Import} and {\tt Export} alone can be used inside
+ modules (see Section~\ref{Import}).
+
\end{ErrMsgs}
\SeeAlso Chapter~\ref{Addoc-coqc}