diff options
author | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-03-19 14:13:01 +0100 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-03-21 15:51:42 +0100 |
commit | 9c5a447688365006c8e594edfb1e973db8d53454 (patch) | |
tree | 780e5bd2163f4af68c5d1e2144e432637301b838 /intf | |
parent | f21deb6c861b359f0d3bf8b170d277cfa0d80171 (diff) |
Make parsing independent of the cumulativity flag.
Diffstat (limited to 'intf')
-rw-r--r-- | intf/vernacexpr.ml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/intf/vernacexpr.ml b/intf/vernacexpr.ml index df061bfb7..df746f765 100644 --- a/intf/vernacexpr.ml +++ b/intf/vernacexpr.ml @@ -297,13 +297,9 @@ type inline = type module_ast_inl = module_ast * inline type module_binder = bool option * lident list * module_ast_inl -(** Cumulativity can be set globally, locally or unset locally and it - can not enabled at all. *) -type cumulative_inductive_parsing_flag = - | GlobalCumulativity - | GlobalNonCumulativity - | LocalCumulativity - | LocalNonCumulativity +(** [Some b] if locally enabled/disabled according to [b], [None] if + we should use the global flag. *) +type cumulative_inductive_parsing_flag = bool option (** {6 The type of vernacular expressions} *) |