diff options
| author | Emilio Jesus Gallego Arias | 2017-11-20 12:26:59 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2017-11-22 22:47:57 +0100 |
| commit | ce418aea93a6396412de57aded0ff092bec7596b (patch) | |
| tree | f5ed6b63390ba472a5b20e0ff6ef5398f30db41e /API | |
| parent | eb91ccaf236bc9a60a1e216b76a0a42980c072a7 (diff) | |
[plugin] Encapsulate modifiers to vernac commands.
This is a continuation on #6183 and another step towards a more
functional interpretation of commands.
In particular, this should allow us to remove the locality hack.
Diffstat (limited to 'API')
| -rw-r--r-- | API/API.mli | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/API/API.mli b/API/API.mli index 86c6f14158..f56509a70a 100644 --- a/API/API.mli +++ b/API/API.mli @@ -5982,8 +5982,15 @@ sig type deprecation = bool + type atts = { + loc : Loc.t option; + locality : bool option; + } + type vernac_command = - Genarg.raw_generic_argument list -> Loc.t option -> Vernacstate.t -> Vernacstate.t + Genarg.raw_generic_argument list -> + atts:atts -> st:Vernacstate.t -> + Vernacstate.t val vinterp_add : deprecation -> Vernacexpr.extend_name -> vernac_command -> unit |
