aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/g_numeral.mlg
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-05-04 08:54:37 +0200
committerEmilio Jesus Gallego Arias2019-05-04 08:54:37 +0200
commitf646a9cb36979772f821e5cf7f1fcac7fedbf32b (patch)
tree849100901c21514f624411192ece302816a833f8 /plugins/syntax/g_numeral.mlg
parent01f2816cb72a4c94a162f76d6bfad92f906e2630 (diff)
parentca97b1a758a918dfa594e5759eda21b1da672265 (diff)
Merge PR #10057: Fix #10054: Numeral Notations without the ltac plugin.
Reviewed-by: ejgallego
Diffstat (limited to 'plugins/syntax/g_numeral.mlg')
-rw-r--r--plugins/syntax/g_numeral.mlg5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/syntax/g_numeral.mlg b/plugins/syntax/g_numeral.mlg
index baa4ae0306..0f0f3953da 100644
--- a/plugins/syntax/g_numeral.mlg
+++ b/plugins/syntax/g_numeral.mlg
@@ -16,18 +16,17 @@ open Notation
open Numeral
open Pp
open Names
-open Ltac_plugin
open Stdarg
open Pcoq.Prim
-let pr_numnot_option _ _ _ = function
+let pr_numnot_option = function
| Nop -> mt ()
| Warning n -> str "(warning after " ++ str n ++ str ")"
| Abstract n -> str "(abstract after " ++ str n ++ str ")"
}
-ARGUMENT EXTEND numnotoption
+VERNAC ARGUMENT EXTEND numnotoption
PRINTED BY { pr_numnot_option }
| [ ] -> { Nop }
| [ "(" "warning" "after" bigint(waft) ")" ] -> { Warning waft }