aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authorMaxime Dénès2017-12-29 13:41:29 +0100
committerMaxime Dénès2017-12-29 13:41:29 +0100
commitc0e5746e6b273eb4592d24867da55dde40b656c9 (patch)
treef19c8de545f461a7cf8abfbbd7747e8020a9b8a0 /intf
parent7e319ad03aba413f3165b848eaf821b364f9291b (diff)
parented09ae7a473a99c914f2af64d3387d9190e85849 (diff)
Merge PR #6433: [flags] Move global time flag into an attribute.
Diffstat (limited to 'intf')
-rw-r--r--intf/vernacexpr.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/intf/vernacexpr.ml b/intf/vernacexpr.ml
index a90e5501a5..5106e513b9 100644
--- a/intf/vernacexpr.ml
+++ b/intf/vernacexpr.ml
@@ -479,8 +479,9 @@ and vernac_argument_status = {
type vernac_control =
| VernacExpr of vernac_expr
- (* Control *)
- | VernacTime of vernac_control located
+ (* boolean is true when the `-time` batch-mode command line flag was set.
+ the flag is used to print differently in `-time` vs `Time foo` *)
+ | VernacTime of bool * vernac_control located
| VernacRedirect of string * vernac_control located
| VernacTimeout of int * vernac_control
| VernacFail of vernac_control