diff options
author | 2014-07-27 14:58:03 +0200 | |
---|---|---|
committer | 2014-07-27 15:39:10 +0200 | |
commit | b52dca14d3ac66ecd1657a21fecd0b48751096a7 (patch) | |
tree | 193b1f22f433b24dd8038e54c2e96041acc6dd19 /plugins/setoid_ring/newring.ml4 | |
parent | 0736cd1ff1eb07c6faae43cdfbe2efd11c8470e9 (diff) |
Qualified ML tactic names. The plugin name is used to discriminate
potentially conflicting tactics names from different plugins.
Diffstat (limited to 'plugins/setoid_ring/newring.ml4')
-rw-r--r-- | plugins/setoid_ring/newring.ml4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/setoid_ring/newring.ml4 b/plugins/setoid_ring/newring.ml4 index 8d83ffc33..18be9b228 100644 --- a/plugins/setoid_ring/newring.ml4 +++ b/plugins/setoid_ring/newring.ml4 @@ -139,9 +139,13 @@ let closed_term_ast l = Genarg.in_gen (Genarg.wit_list Constrarg.wit_ref) l]))) *) let closed_term_ast l = + let tacname = { + mltac_plugin = "newring_plugin"; + mltac_tactic = "closed_term"; + } in let l = List.map (fun gr -> ArgArg(Loc.ghost,gr)) l in TacFun([Some(Id.of_string"t")], - TacAtom(Loc.ghost,TacExtend(Loc.ghost,"closed_term", + TacAtom(Loc.ghost,TacExtend(Loc.ghost,tacname, [Genarg.in_gen (Genarg.glbwit Constrarg.wit_constr) (GVar(Loc.ghost,Id.of_string"t"),None); Genarg.in_gen (Genarg.glbwit (Genarg.wit_list Constrarg.wit_ref)) l]))) (* |