aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-12-18 17:30:09 +0100
committerPierre-Marie Pédrot2015-12-21 19:36:38 +0100
commit589130e87d68227d25800e7506666eaf1d47a25a (patch)
treeff7ae021ca3c3306bbcbc8b9575b3b23b78320ce /plugins
parent329b5b9ed526d572d7df066dc99486e1dcb9e4cc (diff)
Changing the toplevel type of the int_or_var generic type to int.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/micromega/g_micromega.ml410
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/micromega/g_micromega.ml4 b/plugins/micromega/g_micromega.ml4
index 62f0ae5037..3c46e1eea0 100644
--- a/plugins/micromega/g_micromega.ml4
+++ b/plugins/micromega/g_micromega.ml4
@@ -21,12 +21,8 @@ open Misctypes
DECLARE PLUGIN "micromega_plugin"
-let out_arg = function
- | ArgVar _ -> anomaly (Pp.str "Unevaluated or_var variable")
- | ArgArg x -> x
-
TACTIC EXTEND PsatzZ
-| [ "psatz_Z" int_or_var(i) ] -> [ (Coq_micromega.psatz_Z (out_arg i)) ]
+| [ "psatz_Z" int_or_var(i) ] -> [ (Coq_micromega.psatz_Z i) ]
| [ "psatz_Z" ] -> [ (Coq_micromega.psatz_Z (-1)) ]
END
@@ -63,12 +59,12 @@ TACTIC EXTEND LRA_R
END
TACTIC EXTEND PsatzR
-| [ "psatz_R" int_or_var(i) ] -> [ (Coq_micromega.psatz_R (out_arg i)) ]
+| [ "psatz_R" int_or_var(i) ] -> [ (Coq_micromega.psatz_R i) ]
| [ "psatz_R" ] -> [ (Coq_micromega.psatz_R (-1)) ]
END
TACTIC EXTEND PsatzQ
-| [ "psatz_Q" int_or_var(i) ] -> [ (Coq_micromega.psatz_Q (out_arg i)) ]
+| [ "psatz_Q" int_or_var(i) ] -> [ (Coq_micromega.psatz_Q i) ]
| [ "psatz_Q" ] -> [ (Coq_micromega.psatz_Q (-1)) ]
END