X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.ml;h=2a5d3c0b0777fe500bef007004befa0e436167c4;hb=916c558005ed665c62699a7a4c5347870c8a3efb;hp=db5fa1294383e2e60b35fc8cb3b5712922a81650;hpb=8d7287519cc51145fcac0ee603ba136dc749857d;p=helm.git diff --git a/helm/software/components/grafite_parser/grafiteParser.ml b/helm/software/components/grafite_parser/grafiteParser.ml index db5fa1294..2a5d3c0b0 100644 --- a/helm/software/components/grafite_parser/grafiteParser.ml +++ b/helm/software/components/grafite_parser/grafiteParser.ml @@ -183,14 +183,15 @@ EXTEND ntactic: [ [ IDENT "napply"; t = tactic_term -> GrafiteAst.NApply (loc, t) | IDENT "nassert"; + seqs = LIST0 [ hyps = LIST0 [ id = IDENT ; SYMBOL ":" ; ty = tactic_term -> id,`Decl ty | id = IDENT ; SYMBOL ":" ; ty = tactic_term ; SYMBOL <:unicode> ; bo = tactic_term -> id,`Def (bo,ty)]; SYMBOL <:unicode>; - concl = tactic_term -> - GrafiteAst.NAssert (loc, hyps, concl) + concl = tactic_term -> (List.rev hyps,concl) ] -> + GrafiteAst.NAssert (loc, seqs) | IDENT "ncases"; what = tactic_term ; where = pattern_spec -> GrafiteAst.NCases (loc, what, where) | IDENT "nchange"; what = pattern_spec; "with"; with_what = tactic_term ->