aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction/table.ml
diff options
context:
space:
mode:
authorMaxime Dénès2018-03-10 10:04:56 +0100
committerMaxime Dénès2018-03-10 10:04:56 +0100
commit4d5c7243b4aea5b28358757e2d86c11334da6699 (patch)
treeade1ab73a9c2066302145bb3781a39b5d46b4513 /plugins/extraction/table.ml
parent93a1c4786c9b17efdda025f754ad97376d61a9ba (diff)
parentb1d749e59444f86e40f897c41739168bb1b1b9b3 (diff)
Merge PR #6837: [located] Push inner locations in reference to a CAst.t node.
Diffstat (limited to 'plugins/extraction/table.ml')
-rw-r--r--plugins/extraction/table.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extraction/table.ml b/plugins/extraction/table.ml
index 6c421491fc..54c6d9d729 100644
--- a/plugins/extraction/table.ml
+++ b/plugins/extraction/table.ml
@@ -899,7 +899,7 @@ let extract_constant_inline inline r ids s =
let extract_inductive r s l optstr =
check_inside_section ();
let g = Smartlocate.global_with_alias r in
- Dumpglob.add_glob ?loc:(loc_of_reference r) g;
+ Dumpglob.add_glob ?loc:r.CAst.loc g;
match g with
| IndRef ((kn,i) as ip) ->
let mib = Global.lookup_mind kn in