aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/g_numeral.mlg
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-03 12:09:16 +0200
committerPierre-Marie Pédrot2019-05-03 13:00:56 +0200
commitca97b1a758a918dfa594e5759eda21b1da672265 (patch)
tree45c0a502d3ec1c2249fbe6915c2f3930784f320a /plugins/syntax/g_numeral.mlg
parent6960da4736186fa6214854329f36f558e7aa4d0b (diff)
Fix #10054: Numeral Notations without the ltac plugin.
It was fairly easy, the plugin defined an argument that was only used in a vernacular extension. Thus marking it as VERNAC was enough not to link to Ltac.
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 }