From 7f4da9fbbe568ea921845f145c21d036c08c328e Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Sat, 24 Nov 2018 16:56:03 +0100 Subject: Make some camlp5 fields immutable. --- gramlib/plexing.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gramlib/plexing.ml') diff --git a/gramlib/plexing.ml b/gramlib/plexing.ml index 7b8618fd20..3b158ebcc4 100644 --- a/gramlib/plexing.ml +++ b/gramlib/plexing.ml @@ -13,6 +13,6 @@ 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 } -- cgit v1.2.3