aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authorArnaud Spiwack2015-06-23 17:45:04 +0200
committerArnaud Spiwack2015-06-24 17:55:47 +0200
commit2adff76c5466734c633923e768c9dcbdc6f28c86 (patch)
treeaca997d04a076e09ce62929415cd66820a5c92d3 /intf
parent4a73e6b2bfb75451bcda7c74cf7478726a459799 (diff)
Add corresponding field in `VernacInductive`.
Makes sure not to generate inductive schemes of assumed positive types.
Diffstat (limited to 'intf')
-rw-r--r--intf/vernacexpr.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/intf/vernacexpr.mli b/intf/vernacexpr.mli
index d7b269a1de..5fff21e270 100644
--- a/intf/vernacexpr.mli
+++ b/intf/vernacexpr.mli
@@ -303,7 +303,9 @@ type vernac_expr =
| VernacExactProof of constr_expr
| VernacAssumption of (locality option * assumption_object_kind) *
inline * simple_binder with_coercion list
- | VernacInductive of private_flag * inductive_flag * (inductive_expr * decl_notation list) list
+ | VernacInductive of
+ bool (*[false] => assume positive*) *
+ private_flag * inductive_flag * (inductive_expr * decl_notation list) list
| VernacFixpoint of
locality option * (fixpoint_expr * decl_notation list) list
| VernacCoFixpoint of