aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2016-09-22 16:57:38 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-09-22 16:57:38 +0200
commit3c47248abc27aa9c64120db30dcb0d7bf945bc70 (patch)
tree0dd3a804e1924862390a7f78abc9a8a119127f9c /ide
parentceb68d1d643ac65f500e0201f61e73cf22e6e2fb (diff)
parent1bc1cba7a759a285131a3ed6ea8979716700b856 (diff)
Merge remote-tracking branch 'github/pr/283' into trunk
Was PR#283: Stylistic improvements in intf/decl_kinds.mli.
Diffstat (limited to 'ide')
-rw-r--r--ide/texmacspp.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ide/texmacspp.ml b/ide/texmacspp.ml
index 328ddd0cd..637744df3 100644
--- a/ide/texmacspp.ml
+++ b/ide/texmacspp.ml
@@ -546,7 +546,8 @@ let rec tmpp v loc =
| DefineBody (_, None , ce, None) -> ce
| DefineBody (_, Some _, ce, Some _) -> ce
| DefineBody (_, None , ce, Some _) -> ce in
- let str_dk = Kindops.string_of_definition_kind (l, false, dk) in
+ let def_kind = { locality = l; polymorphic = false; object_kind = dk } in
+ let str_dk = Kindops.string_of_definition_kind def_kind in
let str_id = Id.to_string id in
(xmlDef str_dk str_id loc [pp_expr e])
| VernacStartTheoremProof (tk, [ Some ((_,id),_), ([], statement, None) ], b) ->