aboutsummaryrefslogtreecommitdiff
path: root/gramlib/plexing.ml
diff options
context:
space:
mode:
Diffstat (limited to 'gramlib/plexing.ml')
-rw-r--r--gramlib/plexing.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/gramlib/plexing.ml b/gramlib/plexing.ml
index ce3e38ff08..d6be29ccea 100644
--- a/gramlib/plexing.ml
+++ b/gramlib/plexing.ml
@@ -2,8 +2,7 @@
(* plexing.ml,v *)
(* Copyright (c) INRIA 2007-2017 *)
-type location_function = int -> Loc.t
-type 'te lexer_func = ?loc:Loc.t -> char Stream.t -> 'te Stream.t * location_function
+type 'te lexer_func = ?source:Loc.source -> char Stream.t -> 'te LStream.t
module type S = sig
type te