]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/pa_unicode_macro.ml
ported location handling to camlp4 3.08
[helm.git] / helm / ocaml / cic_disambiguation / pa_unicode_macro.ml
index 4ba3541e5653cea8f25f0f95ec80dc633a080f3a..dc15b8c8b2a264b7bd37783df30a0580528e9a8b 100644 (file)
 let debug = false
 let debug_print s = if debug then prerr_endline s
 
-let loc = (0, 0)
+let loc =
+  let dummy_pos =
+    { Lexing.pos_fname = ""; Lexing.pos_lnum = -1; Lexing.pos_bol = -1;
+      Lexing.pos_cnum = -1 }
+  in
+  (dummy_pos, dummy_pos)
 
 let expand_unicode_macro macro =
   debug_print (Printf.sprintf "Expanding macro '%s' ..." macro);