diff options
-rw-r--r-- | parsing/g_tactic.ml4 | 6 | ||||
-rw-r--r-- | plugins/funind/g_indfun.ml4 | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/parsing/g_tactic.ml4 b/parsing/g_tactic.ml4 index 506bb1d53..d36399c0d 100644 --- a/parsing/g_tactic.ml4 +++ b/parsing/g_tactic.ml4 @@ -111,8 +111,8 @@ let check_for_coloneq = | KEYWORD "(" -> skip_binders 2 | _ -> err ()) -let lookup_at_as_comma = - Gram.Entry.of_parser "lookup_at_as_comma" +let lookup_at_as_coma = + Gram.Entry.of_parser "lookup_at_as_coma" (fun strm -> match get_tok (stream_nth 0 strm) with | KEYWORD (","|"at"|"as") -> () @@ -595,7 +595,7 @@ GEXTEND Gram | IDENT "generalize"; c = constr; l = LIST1 constr -> let gen_everywhere c = ((AllOccurrences,c),Names.Anonymous) in TacAtom (!@loc, TacGeneralize (List.map gen_everywhere (c::l))) - | IDENT "generalize"; c = constr; lookup_at_as_comma; nl = occs; + | IDENT "generalize"; c = constr; lookup_at_as_coma; nl = occs; na = as_name; l = LIST0 [","; c = pattern_occ; na = as_name -> (c,na)] -> TacAtom (!@loc, TacGeneralize (((nl,c),na)::l)) diff --git a/plugins/funind/g_indfun.ml4 b/plugins/funind/g_indfun.ml4 index a9617a6c5..0760e78bf 100644 --- a/plugins/funind/g_indfun.ml4 +++ b/plugins/funind/g_indfun.ml4 @@ -125,12 +125,12 @@ TACTIC EXTEND snewfunind END -let pr_constr_comma_sequence prc _ _ = prlist_with_sep pr_comma prc +let pr_constr_coma_sequence prc _ _ = prlist_with_sep pr_comma prc -ARGUMENT EXTEND constr_comma_sequence' +ARGUMENT EXTEND constr_coma_sequence' TYPED AS constr_list - PRINTED BY pr_constr_comma_sequence -| [ constr(c) "," constr_comma_sequence'(l) ] -> [ c::l ] + PRINTED BY pr_constr_coma_sequence +| [ constr(c) "," constr_coma_sequence'(l) ] -> [ c::l ] | [ constr(c) ] -> [ [c] ] END @@ -139,7 +139,7 @@ let pr_auto_using prc _prlc _prt = Pptactic.pr_auto_using prc ARGUMENT EXTEND auto_using' TYPED AS constr_list PRINTED BY pr_auto_using -| [ "using" constr_comma_sequence'(l) ] -> [ l ] +| [ "using" constr_coma_sequence'(l) ] -> [ l ] | [ ] -> [ [] ] END |