diff options
| author | Hugo Herbelin | 2018-10-12 20:02:57 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2019-06-08 20:17:41 +0200 |
| commit | b23c3fee91e146d4aa2bc2c75ea30619a204c3d9 (patch) | |
| tree | 0e90eec1d26d541f7a43dcf6dff622ad3c4ab6e0 /vernac/ppvernac.ml | |
| parent | 65f75de6929530252a3235af54a0da56980fa02d (diff) | |
Adding a new kind of assumption to track assumption coming from "Context".
This is to avoid depending on the combination "Discharge" + no opened
section to trigger an automatic declaration of instance.
Diffstat (limited to 'vernac/ppvernac.ml')
| -rw-r--r-- | vernac/ppvernac.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vernac/ppvernac.ml b/vernac/ppvernac.ml index 02af1904fd..fda1e2afea 100644 --- a/vernac/ppvernac.ml +++ b/vernac/ppvernac.ml @@ -359,6 +359,8 @@ open Pputils keyword (if many then "Variables" else "Variable") | (DoDischarge,Conjectural) -> anomaly (Pp.str "Don't know how to beautify a local conjecture.") + | (_,Context) -> + anomaly (Pp.str "Context is used only internally.") let pr_params pr_c (xl,(c,t)) = hov 2 (prlist_with_sep sep pr_lident xl ++ spc() ++ |
