diff options
author | 2014-09-08 10:23:12 +0200 | |
---|---|---|
committer | 2014-09-08 17:09:43 +0200 | |
commit | 26a79004e47bbdc97df61015ce7e944eef14ac71 (patch) | |
tree | 1f24c9acbb73cd63dcc689222b965f245767137e /parsing | |
parent | 89ad50f4d7e1312539995ced3a632821bf6af7c5 (diff) |
Parsing of Type@{max(i,j)}.
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 be343b987..272a18c3e 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: |