X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.ml;h=be39556d8502fb59826083c753232a1e60148107;hp=e84cd708495bf436cd79853ee5f8fa242b059c9d;hb=f9abd21eb0d26cf9b632af4df819225be4d091e3;hpb=ede00573e3e4cb28df7ca9a5dae6228c2b432608 diff --git a/matita/components/grafite_parser/grafiteParser.ml b/matita/components/grafite_parser/grafiteParser.ml index e84cd7084..be39556d8 100644 --- a/matita/components/grafite_parser/grafiteParser.ml +++ b/matita/components/grafite_parser/grafiteParser.ml @@ -23,7 +23,7 @@ * http://helm.cs.unibo.it/ *) -(* $Id$ *) +(* $Id: grafiteParser.ml 13176 2016-04-18 15:29:33Z fguidi $ *) module N = NotationPt module G = GrafiteAst @@ -526,7 +526,9 @@ EXTEND G.NObj (loc, N.Theorem(name, N.Implicit `JustOne, Some body, attrs), true) - | src = source; IDENT "axiom"; i = index; name = IDENT; SYMBOL ":"; typ = term -> + | src = source; IDENT "axiom"; i = index; name = IDENT; + params = LIST0 protected_binder_vars; SYMBOL ":"; typ = term -> (* FG: params added *) + let typ = shift_params `Forall params typ in let attrs = src, `Axiom, `Regular in G.NObj (loc, N.Theorem (name, typ, None, attrs),i) | src = source; IDENT "inductive"; spec = inductive_spec ->