aboutsummaryrefslogtreecommitdiff
path: root/gramlib/ploc.ml
diff options
context:
space:
mode:
Diffstat (limited to 'gramlib/ploc.ml')
-rw-r--r--gramlib/ploc.ml18
1 files changed, 0 insertions, 18 deletions
diff --git a/gramlib/ploc.ml b/gramlib/ploc.ml
deleted file mode 100644
index e121342c94..0000000000
--- a/gramlib/ploc.ml
+++ /dev/null
@@ -1,18 +0,0 @@
-(* camlp5r *)
-(* ploc.ml,v *)
-(* Copyright (c) INRIA 2007-2017 *)
-
-open Loc
-
-let make_unlined (bp, ep) =
- {fname = InFile ""; line_nb = 1; bol_pos = 0; line_nb_last = -1; bol_pos_last = 0;
- bp = bp; ep = ep; }
-
-let dummy =
- {fname = InFile ""; line_nb = 1; bol_pos = 0; line_nb_last = -1; bol_pos_last = 0;
- bp = 0; ep = 0; }
-
-(* *)
-
-let sub loc sh len = {loc with bp = loc.bp + sh; ep = loc.bp + sh + len}
-let after loc sh len = {loc with bp = loc.ep + sh; ep = loc.ep + sh + len}