aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-03-19 14:13:01 +0100
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-03-21 15:51:42 +0100
commit9c5a447688365006c8e594edfb1e973db8d53454 (patch)
tree780e5bd2163f4af68c5d1e2144e432637301b838 /printing
parentf21deb6c861b359f0d3bf8b170d277cfa0d80171 (diff)
Make parsing independent of the cumulativity flag.
Diffstat (limited to 'printing')
-rw-r--r--printing/ppvernac.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml
index 5c5b7206a..b7f5a8309 100644
--- a/printing/ppvernac.ml
+++ b/printing/ppvernac.ml
@@ -788,8 +788,9 @@ open Decl_kinds
if p then
let cm =
match cum with
- | GlobalCumulativity | LocalCumulativity -> "Cumulative"
- | GlobalNonCumulativity | LocalNonCumulativity -> "NonCumulative"
+ | Some true -> "Cumulative"
+ | Some false -> "NonCumulative"
+ | None -> ""
in
cm ^ " " ^ kind
else kind