diff options
Diffstat (limited to 'kernel/entries.ml')
-rw-r--r-- | kernel/entries.ml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/kernel/entries.ml b/kernel/entries.ml index 26e9a6250..938d1c60a 100644 --- a/kernel/entries.ml +++ b/kernel/entries.ml @@ -62,7 +62,8 @@ type definition_entry = { const_entry_opaque : bool; const_entry_boxed : bool} -type parameter_entry = types*bool +(* type and the inlining flag *) +type parameter_entry = types * bool type constant_entry = | DefinitionEntry of definition_entry @@ -70,7 +71,14 @@ type constant_entry = (*s Modules *) -type module_struct_entry = + +type specification_entry = + SPEconst of constant_entry + | SPEmind of mutual_inductive_entry + | SPEmodule of module_entry + | SPEmodtype of module_struct_entry + +and module_struct_entry = MSEident of module_path | MSEfunctor of mod_bound_id * module_struct_entry * module_struct_entry | MSEwith of module_struct_entry * with_declaration |