aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-04-24 03:26:40 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-08 01:13:04 +0200
commita47bd32c261aa1ba6e30ef1b4d08cfc2746ce20f (patch)
tree911c09c586a6d90a6d1e304e86260767a7b0bdbb /parsing
parent6c8b00e47334f60f200256d45a5542fa80ce4b12 (diff)
[api] Move universe syntax to `Glob_term`
We move syntax for universes from `Misctypes` to `Glob_term`. There is basically no reason that this type is there instead of the proper file, as witnessed by the diff. Unfortunately the change is not compatible due to moving a type to a higher level in the hierarchy, but we expect few problems. This change plus the related PR (#6515) moving universe declaration to their proper place make `Misctypes` into basically an empty file save for introduction patterns.
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_constr.ml41
-rw-r--r--parsing/pcoq.mli4
2 files changed, 3 insertions, 2 deletions
diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4
index 9c2806bea..a03ef268d 100644
--- a/parsing/g_constr.ml4
+++ b/parsing/g_constr.ml4
@@ -10,6 +10,7 @@
open Names
open Libnames
+open Glob_term
open Constrexpr
open Constrexpr_ops
open Util
diff --git a/parsing/pcoq.mli b/parsing/pcoq.mli
index 0fbf2f567..387a62604 100644
--- a/parsing/pcoq.mli
+++ b/parsing/pcoq.mli
@@ -227,8 +227,8 @@ module Constr :
val operconstr : constr_expr Gram.entry
val ident : Id.t Gram.entry
val global : reference Gram.entry
- val universe_level : glob_level Gram.entry
- val sort : glob_sort Gram.entry
+ val universe_level : Glob_term.glob_level Gram.entry
+ val sort : Glob_term.glob_sort Gram.entry
val sort_family : Sorts.family Gram.entry
val pattern : cases_pattern_expr Gram.entry
val constr_pattern : constr_expr Gram.entry