aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-02-21 12:59:51 -0500
committerEmilio Jesus Gallego Arias2020-03-25 23:45:01 -0400
commit9847448b5f9dbf32806decf676f415d584a2cddb (patch)
tree8a2e4b8cc2a12df6ebafc1c021f59348d2b2787e /vernac
parentf374c2562b9522bd90330f6f17f0a7e41c723e8b (diff)
[gramlib] Remove warning function parameter in favor of standard mechanism.
If we need more fine-tuning we should manage the warnings with the standard Coq mechanism.
Diffstat (limited to 'vernac')
-rw-r--r--vernac/egramcoq.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/egramcoq.ml b/vernac/egramcoq.ml
index 7a52f53dc0..c4f15a40ce 100644
--- a/vernac/egramcoq.ml
+++ b/vernac/egramcoq.ml
@@ -329,7 +329,7 @@ let make_sep_rules = function
Pcoq.G.Symbol.token tk
| tkl ->
let r = Pcoq.G.mk_rule (List.rev tkl) in
- Pcoq.G.Symbol.rules ~warning:None [r]
+ Pcoq.G.Symbol.rules [r]
type ('s, 'a) mayrec_symbol =
| MayRecNo : ('s, Gramlib.Grammar.norec, 'a) G.Symbol.t -> ('s, 'a) mayrec_symbol