aboutsummaryrefslogtreecommitdiff
path: root/lib/loc.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-11-24 21:41:22 +0100
committerEmilio Jesus Gallego Arias2018-11-30 22:35:05 +0100
commit0422f7e67c6c87ab364212a267288afcc7313e90 (patch)
tree05ec0a2e801eeee6adce6655af8475395bb9a575 /lib/loc.mli
parentacd0c18829a03159c489d908ce8f5f510de2f347 (diff)
[gramlib] Remove `Ploc.t` in favor of `Loc.t`
The types are identical and we have no more reason for the split. Note the following TODOS: - discrepancy of `Ploc.after` with `CLexer.after` - discrepancy of `Ploc.comments` with `CLexer.comments` - `Ploc.dummy` vs `Loc.t option`
Diffstat (limited to 'lib/loc.mli')
-rw-r--r--lib/loc.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/loc.mli b/lib/loc.mli
index 23df1ebd9a..c46311b639 100644
--- a/lib/loc.mli
+++ b/lib/loc.mli
@@ -22,6 +22,8 @@ type t = {
bol_pos_last : int; (** position of the beginning of end line *)
bp : int; (** start position *)
ep : int; (** end position *)
+ comm : string; (** start comment *)
+ ecomm : string (** end comment *)
}
(** {5 Location manipulation} *)