aboutsummaryrefslogtreecommitdiff
path: root/gramlib/plexing.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-03-29 19:42:41 +0100
committerEmilio Jesus Gallego Arias2019-03-29 19:42:41 +0100
commitae9cc11c9975cc7ced1800f6684e160bc17fb092 (patch)
tree68ce39acc517369d5e25fac9aa2d87f33fd3a4ed /gramlib/plexing.ml
parent23d6e0619fc7a1d466bebb831a988431828da88f (diff)
parent7eba2dfda86238cb0941edfd7aafb09f566c36d8 (diff)
Merge PR #9830: [parser] initialization based on Loc.t rather than Loc.source
Reviewed-by: ejgallego Ack-by: gares
Diffstat (limited to 'gramlib/plexing.ml')
-rw-r--r--gramlib/plexing.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gramlib/plexing.ml b/gramlib/plexing.ml
index fce5445ad8..c294923a85 100644
--- a/gramlib/plexing.ml
+++ b/gramlib/plexing.ml
@@ -5,7 +5,7 @@
type pattern = string * string
type location_function = int -> Loc.t
-type 'te lexer_func = char Stream.t -> 'te Stream.t * location_function
+type 'te lexer_func = ?loc:Loc.t -> char Stream.t -> 'te Stream.t * location_function
type 'te lexer =
{ tok_func : 'te lexer_func;