summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHugo Heuzard <hugo.heuzard@gmail.com>2018-07-21 13:04:53 +0100
committerHugo Heuzard <hugo.heuzard@gmail.com>2018-08-06 13:19:28 +0100
commit80431444941fc722a4aaabcf36ca13e818ef5ade (patch)
tree1864d2a26212a69c65da4fecce9c5c858b05100e /tools
parent35218bf9dfa9452cf7192344d4a3b9ece2c50118 (diff)
downloadocaml-80431444941fc722a4aaabcf36ca13e818ef5ade.tar.gz
Add locations to attributes
Changes fix typo
Diffstat (limited to 'tools')
-rw-r--r--tools/caml_tex.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/caml_tex.ml b/tools/caml_tex.ml
index 40d4763c6f..e110e3e7cf 100644
--- a/tools/caml_tex.ml
+++ b/tools/caml_tex.ml
@@ -500,7 +500,7 @@ module Ellipsis = struct
(* we rely on the fact that the default iterator call first
the location subiterator, then the attribute subiterator *)
last_loc := loc in
- let attribute _this (attr,_) =
+ let attribute _this {Parsetree.attr_name = attr;_} =
let name = attr.Location.txt in
let loc = !last_loc in
let start = loc.Location.loc_start.Lexing.pos_cnum in