diff options
Diffstat (limited to 'printing/ppvernac.ml')
-rw-r--r-- | printing/ppvernac.ml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml index 07838edcd..efca60f00 100644 --- a/printing/ppvernac.ml +++ b/printing/ppvernac.ml @@ -10,6 +10,9 @@ open Pp open Names open Nameops open Nametab + +let pr_located = Loc.pr_located + open Compat open Errors open Util @@ -30,7 +33,7 @@ open Declaremods let pr_spc_lconstr = pr_sep_com spc pr_lconstr_expr let pr_lident (loc,id) = - if loc <> dummy_loc then + if loc <> Loc.ghost then let (b,_) = unloc loc in pr_located pr_id (make_loc (b,b+String.length(string_of_id id)),id) else pr_id id @@ -41,7 +44,7 @@ let string_of_fqid fqid = let pr_fqid fqid = str (string_of_fqid fqid) let pr_lfqid (loc,fqid) = - if loc <> dummy_loc then + if loc <> Loc.ghost then let (b,_) = unloc loc in pr_located pr_fqid (make_loc (b,b+String.length(string_of_fqid fqid)),fqid) else |