summaryrefslogtreecommitdiff
path: root/kernel/declarations.mli
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/declarations.mli')
-rw-r--r--kernel/declarations.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/declarations.mli b/kernel/declarations.mli
index 5b800ede..7cf74ba3 100644
--- a/kernel/declarations.mli
+++ b/kernel/declarations.mli
@@ -192,6 +192,10 @@ type structure_field_body =
| SFBmodule of module_body
| SFBmodtype of module_type_body
+(** NB: we may encounter now (at most) twice the same label in
+ a [structure_body], once for a module ([SFBmodule] or [SFBmodtype])
+ and once for an object ([SFBconst] or [SFBmind]) *)
+
and structure_body = (label * structure_field_body) list
and struct_expr_body =