aboutsummaryrefslogtreecommitdiff
path: root/gramlib/ploc.ml
diff options
context:
space:
mode:
authorHugo Herbelin2021-04-05 16:24:39 +0200
committerHugo Herbelin2021-04-23 15:34:29 +0200
commit52a71bf2b1260ce8f8622878c82caec54d298808 (patch)
tree6a99a52dda6380ccc80166a849a1f489424e29d6 /gramlib/ploc.ml
parenta24d1a15858df9574e491bf952a59e700cc75ecc (diff)
Locations: Moving functions Ploc.sub and Ploc.after to loc.ml.
Diffstat (limited to 'gramlib/ploc.ml')
-rw-r--r--gramlib/ploc.ml5
1 files changed, 0 insertions, 5 deletions
diff --git a/gramlib/ploc.ml b/gramlib/ploc.ml
index e121342c94..44ba0c1f44 100644
--- a/gramlib/ploc.ml
+++ b/gramlib/ploc.ml
@@ -11,8 +11,3 @@ let make_unlined (bp, 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}