aboutsummaryrefslogtreecommitdiff
path: root/gramlib/plexing.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-12-05 17:48:53 +0100
committerPierre-Marie Pédrot2018-12-05 17:48:53 +0100
commit8a28cf181a47072fe9a09e98bca761774520d0c3 (patch)
tree42faf529e552d5682be4ab827f8c71d7a4afef96 /gramlib/plexing.ml
parentce4910fe9299bbd54a313980eedaf8d57daade1c (diff)
parent0422f7e67c6c87ab364212a267288afcc7313e90 (diff)
Merge PR #9065: [gramlib] Remove `Ploc.t` in favor of `Loc.t`
Diffstat (limited to 'gramlib/plexing.ml')
-rw-r--r--gramlib/plexing.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/gramlib/plexing.ml b/gramlib/plexing.ml
index 986363ec1f..7b8618fd20 100644
--- a/gramlib/plexing.ml
+++ b/gramlib/plexing.ml
@@ -6,8 +6,7 @@ type pattern = string * string
exception Error of string
-type location = Ploc.t
-type location_function = int -> location
+type location_function = int -> Loc.t
type 'te lexer_func = char Stream.t -> 'te Stream.t * location_function
type 'te lexer =
@@ -16,4 +15,4 @@ type 'te lexer =
tok_removing : pattern -> unit;
mutable tok_match : pattern -> 'te -> string;
tok_text : pattern -> string;
- mutable tok_comm : location list option }
+ mutable tok_comm : Loc.t list option }