diff options
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/field/field.ml4 | 2 | ||||
| -rw-r--r-- | contrib/funind/tacinv.ml4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/field/field.ml4 b/contrib/field/field.ml4 index 87a9033f62..76f4b36112 100644 --- a/contrib/field/field.ml4 +++ b/contrib/field/field.ml4 @@ -157,7 +157,7 @@ let field g = | _ -> error "The statement is not built from Leibniz' equality" in let th = VConstr (lookup (pf_env g) typ) in (interp_tac_gen [(id_of_string "FT",th)] (get_debug ()) - <:tactic< match context with |- (@eq _ _ _) => field_gen FT end >>) g + <:tactic< match goal with |- (@eq _ _ _) => field_gen FT end >>) g (* Verifies that all the terms have the same type and gives the right theory *) let guess_theory env evc = function diff --git a/contrib/funind/tacinv.ml4 b/contrib/funind/tacinv.ml4 index 155a264f7a..162ea2ebf2 100644 --- a/contrib/funind/tacinv.ml4 +++ b/contrib/funind/tacinv.ml4 @@ -710,7 +710,7 @@ let declareFunScheme f fname mutflist = VERNAC COMMAND EXTEND FunctionalScheme [ "Functional" "Scheme" ident(na) ":=" "Induction" "for" - constr(c) "with" constr_list(l) ] + constr(c) "with" ne_constr_list(l) ] -> [ declareFunScheme c na l ] | [ "Functional" "Scheme" ident(na) ":=" "Induction" "for" constr(c) ] -> [ declareFunScheme c na [] ] |
