diff options
Diffstat (limited to 'parsing')
| -rw-r--r-- | parsing/g_constr.ml4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4 index be343b9873..272a18c3e1 100644 --- a/parsing/g_constr.ml4 +++ b/parsing/g_constr.ml4 @@ -152,8 +152,13 @@ GEXTEND Gram sort: [ [ "Set" -> GSet | "Prop" -> GProp - | "Type" -> GType None - | "Type"; "@{"; id = ident; "}" -> GType (Some (Id.to_string id)) + | "Type" -> GType [] + | "Type"; "@{"; u = universe; "}" -> GType (List.map Id.to_string u) + ] ] + ; + universe: + [ [ "max("; ids = LIST1 ident SEP ","; ")" -> ids + | id = ident -> [id] ] ] ; lconstr: |
