diff options
author | 2018-05-19 16:51:55 +0200 | |
---|---|---|
committer | 2018-05-23 13:23:26 +0200 | |
commit | e87288450d4d9e49ac91d179714a73bd0147c0d7 (patch) | |
tree | d49a79f39f9d7be57cab28a21334e328c6804654 /pretyping | |
parent | 3bfa8730b2e5fa7f0155c6341b1a0fea9181434f (diff) |
[api] Move `opacity_flag` to `Proof_global`.
`Proof_global` is the main consumer of the flag, which doesn't seem to
belong to the AST as plugins show.
This will allow the vernac AST to be placed in `vernac` indeed.
Diffstat (limited to 'pretyping')
-rw-r--r-- | pretyping/vernacexpr.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/vernacexpr.ml b/pretyping/vernacexpr.ml index 304a5dadd..71a2e8cb8 100644 --- a/pretyping/vernacexpr.ml +++ b/pretyping/vernacexpr.ml @@ -135,7 +135,8 @@ type search_restriction = type rec_flag = bool (* true = Rec; false = NoRec *) type verbose_flag = bool (* true = Verbose; false = Silent *) -type opacity_flag = Opaque | Transparent +type opacity_flag = Proof_global.opacity_flag = Opaque | Transparent + [@ocaml.deprecated "Please use [Proof_global.opacity_flag]"] type coercion_flag = bool (* true = AddCoercion false = NoCoercion *) type instance_flag = bool option (* Some true = Backward instance; Some false = Forward instance, None = NoInstance *) |