diff options
Diffstat (limited to 'gramlib/plexing.ml')
| -rw-r--r-- | gramlib/plexing.ml | 5 |
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 } |
