aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/loc.ml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-04-08 19:40:57 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-04-25 00:29:10 +0200
commit9122623f2377bfe6aad0d4ea662481992e768201 (patch)
tree3e16f7b6e1ba70c5dbae2e409586781f786d40d3 /lib/loc.ml
parente8a6467545c2814c9418889201e8be19c0cef201 (diff)
[location] Remove `Loc.internal_ghost`
`internal_ghost` was an artifact to ease porting of the ml4 rules. Now that the location is optional we can finally get rid of it.
Diffstat (limited to 'lib/loc.ml')
-rw-r--r--lib/loc.ml4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/loc.ml b/lib/loc.ml
index e02fe108d..9107dce47 100644
--- a/lib/loc.ml
+++ b/lib/loc.ml
@@ -55,10 +55,6 @@ let unloc loc = (loc.bp, loc.ep)
let join_loc = merge
-let internal_ghost = {
- fname = ""; line_nb = -1; bol_pos = 0; line_nb_last = -1; bol_pos_last = 0;
- bp = 0; ep = 0; }
-
(** Located type *)
type 'a located = t option * 'a