src/Pure/ProofGeneral/pgip_tests.ML
changeset 22407 6e52564bcb53
parent 22164 ac1bae165ad8
child 23436 343e84195e2c
--- a/src/Pure/ProofGeneral/pgip_tests.ML	Sat Mar 03 12:42:39 2007 +0100
+++ b/src/Pure/ProofGeneral/pgip_tests.ML	Sat Mar 03 12:43:16 2007 +0100
@@ -69,6 +69,7 @@
 
 open PgipInput;
 open PgipTypes;
+open PgipIsabelle;
 
 fun asseqi a b =
     if input (e a) = b then ()
@@ -109,6 +110,8 @@
 local
 open PgipMarkup
 open PgipParser
+open PgipIsabelle
+
 fun asseqp a b =
     if pgip_parser a = b then ()
     else error("PGIP test: expected two parses to be equal, for input:\n" ^ a)
@@ -119,10 +122,11 @@
     [Opentheory
          {text = "theory A imports Bthy Cthy Dthy begin",
           thyname = "A",
-          parentnames = ["Bthy", "Cthy", "Dthy"]}];
+          parentnames = ["Bthy", "Cthy", "Dthy"]},
+     Openblock {metavarid=NONE,name=NONE,objtype=SOME ObjTheoryBody}];
 
 val _ = 
     asseqp "end" 
-   [Closetheory {text = "end"}];
+   [Closeblock {}, Closetheory {text = "end"}];
 
 end