aboutsummaryrefslogtreecommitdiff
path: root/user-contrib/Ltac2
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-06-06 16:52:23 +0200
committerVincent Laporte2019-07-29 14:18:01 +0000
commit55400b02a70c540d6c6e8152affe1eae99760b91 (patch)
tree72055f03180e1bbaad97e29c6287c51828c289bc /user-contrib/Ltac2
parent807b1e18575914f9956569ab71bb5fe29716cbdf (diff)
Tentatively providing a localization function to ad-hoc camlp5 parsers.
Diffstat (limited to 'user-contrib/Ltac2')
-rw-r--r--user-contrib/Ltac2/g_ltac2.mlg2
1 files changed, 1 insertions, 1 deletions
diff --git a/user-contrib/Ltac2/g_ltac2.mlg b/user-contrib/Ltac2/g_ltac2.mlg
index 23b5f4daef..e0e660b984 100644
--- a/user-contrib/Ltac2/g_ltac2.mlg
+++ b/user-contrib/Ltac2/g_ltac2.mlg
@@ -26,7 +26,7 @@ let err () = raise Stream.Failure
type lookahead = int -> Tok.t Stream.t -> int option
let entry_of_lookahead s (lk : lookahead) =
- let run strm = match lk 0 strm with None -> err () | Some _ -> () in
+ let run _ strm = match lk 0 strm with None -> err () | Some _ -> () in
Pcoq.Entry.of_parser s run
let (>>) (lk1 : lookahead) lk2 n strm = match lk1 n strm with