]> matita.cs.unibo.it Git - helm.git/commitdiff
The context is now parsed in the reverse (right) order.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 16 Apr 2009 12:27:12 +0000 (12:27 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 16 Apr 2009 12:27:12 +0000 (12:27 +0000)
helm/software/components/grafite_parser/grafiteParser.ml

index 7b4e6157b70fd43950da32b8d8f832628cbcffa5..2a5d3c0b0777fe500bef007004befa0e436167c4 100644 (file)
@@ -190,7 +190,7 @@ EXTEND
                         SYMBOL <:unicode<def>> ; bo = tactic_term ->
             id,`Def (bo,ty)];
         SYMBOL <:unicode<vdash>>;
-        concl = tactic_term -> (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)