aboutsummaryrefslogtreecommitdiff
path: root/gramlib/plexing.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-24 16:56:03 +0100
committerPierre-Marie Pédrot2018-12-05 17:55:11 +0100
commit7f4da9fbbe568ea921845f145c21d036c08c328e (patch)
tree1f630528f6258c523cd898dbbee2f2d8db82ad5b /gramlib/plexing.mli
parent8a28cf181a47072fe9a09e98bca761774520d0c3 (diff)
Make some camlp5 fields immutable.
Diffstat (limited to 'gramlib/plexing.mli')
-rw-r--r--gramlib/plexing.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/gramlib/plexing.mli b/gramlib/plexing.mli
index 63c89dac28..e09188763c 100644
--- a/gramlib/plexing.mli
+++ b/gramlib/plexing.mli
@@ -28,9 +28,9 @@ type 'te lexer =
{ tok_func : 'te lexer_func;
tok_using : pattern -> unit;
tok_removing : pattern -> unit;
- mutable tok_match : pattern -> 'te -> string;
+ tok_match : pattern -> 'te -> string;
tok_text : pattern -> string;
- mutable tok_comm : Loc.t list option }
+ tok_comm : Loc.t list option }
and 'te lexer_func = char Stream.t -> 'te Stream.t * location_function
and location_function = int -> Loc.t
(** The type of a function giving the location of a token in the