diff options
Diffstat (limited to 'lib/loc.ml')
| -rw-r--r-- | lib/loc.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/loc.ml b/lib/loc.ml index 57c928bbcb..e87ad132e6 100644 --- a/lib/loc.ml +++ b/lib/loc.ml @@ -33,6 +33,8 @@ let ghost = { fname = ""; line_nb = -1; bol_pos = 0; line_nb_last = -1; bol_pos_last = 0; bp = 0; ep = 0; } +let is_ghost loc = Pervasives.(=) loc ghost (** FIXME *) + let merge loc1 loc2 = if loc1.bp < loc2.bp then if loc1.ep < loc2.ep then { |
