diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-04-02 04:26:09 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-04-06 02:59:34 +0200 |
commit | 79ff2bc044aa86a5ce30f0c24647db8c8e2544fa (patch) | |
tree | ab262754c02841288ce18020bb03b28974f4858a /printing | |
parent | b7938d0a51cdef8076bf5e1a58907b845a3fcc3d (diff) |
[api] Remove dependency of library on Vernacexpr.
Morally, `library` should not depend on the vernacular
definition. This will also create problems when trying to modularize
the codebase due to the cycle [vernacs depend for example on
constrexprs].
The fix is fortunately easy.
Diffstat (limited to 'printing')
-rw-r--r-- | printing/ppvernac.ml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml index 7eb8396ac..83c875707 100644 --- a/printing/ppvernac.ml +++ b/printing/ppvernac.ml @@ -16,12 +16,13 @@ open Util open CAst open Extend -open Vernacexpr -open Pputils open Libnames +open Decl_kinds open Constrexpr open Constrexpr_ops -open Decl_kinds +open Vernacexpr +open Declaremods +open Pputils open Ppconstr |