diff options
| author | Pierre-Marie Pédrot | 2018-11-24 16:56:03 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2018-12-05 17:55:11 +0100 |
| commit | 7f4da9fbbe568ea921845f145c21d036c08c328e (patch) | |
| tree | 1f630528f6258c523cd898dbbee2f2d8db82ad5b /gramlib/plexing.ml | |
| parent | 8a28cf181a47072fe9a09e98bca761774520d0c3 (diff) | |
Make some camlp5 fields immutable.
Diffstat (limited to 'gramlib/plexing.ml')
| -rw-r--r-- | gramlib/plexing.ml | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
