diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/declare.ml | 4 | ||||
| -rw-r--r-- | library/declare.mli | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/declare.ml b/library/declare.ml index 307c838652..398fed7042 100644 --- a/library/declare.ml +++ b/library/declare.ml @@ -303,10 +303,10 @@ let declare_inductive_common mie = oname (* for initial declaration *) -let declare_mind mie = +let declare_mind isrecord mie = let (sp,kn as oname) = declare_inductive_common mie in Dischargedhypsmap.set_discharged_hyps sp [] ; - !xml_declare_inductive oname; + !xml_declare_inductive (isrecord,oname); oname (* when coming from discharge: no xml output *) diff --git a/library/declare.mli b/library/declare.mli index 9b268e7aea..85162c04c6 100644 --- a/library/declare.mli +++ b/library/declare.mli @@ -63,8 +63,8 @@ val redeclare_constant : (* [declare_mind me] declares a block of inductive types with their constructors in the current section; it returns the path of - the whole block *) -val declare_mind : mutual_inductive_entry -> object_name + the whole block (boolean must be true iff it is a record) *) +val declare_mind : bool -> mutual_inductive_entry -> object_name (* Declaration from Discharge *) val redeclare_inductive : @@ -99,4 +99,4 @@ val strength_of_global : global_reference -> strength (* hooks for XML output *) val set_xml_declare_variable : (object_name -> unit) -> unit val set_xml_declare_constant : (bool * object_name -> unit) -> unit -val set_xml_declare_inductive : (object_name -> unit) -> unit +val set_xml_declare_inductive : (bool * object_name -> unit) -> unit |
