X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2FmatitaExcPp.ml;h=42777735c2b96d4f9d4a6c2d26fb6783cf64417f;hb=a502b076ac574dc4d93287ab879fd4375ebd8550;hp=339971feaed0d33f73339bb3ce6e25244369cf48;hpb=70b33ff50aad7d184d832a365709b0ab2ae52ea2;p=helm.git diff --git a/matita/matitaExcPp.ml b/matita/matitaExcPp.ml index 339971fea..42777735c 100644 --- a/matita/matitaExcPp.ml +++ b/matita/matitaExcPp.ml @@ -96,10 +96,7 @@ let rec to_string = let (x, y) = HExtlib.loc_of_floc floc in let x = x + offset in let y = y + offset in - let flocb,floce = floc in - let floc = - {flocb with Lexing.pos_cnum = x}, {floce with Lexing.pos_cnum = y} - in + let floc = HExtlib.floc_of_loc (x,y) in Some floc | _ -> None in let rec explain =