goal_spec: [!];
authorwenzelm
Tue, 21 Mar 2000 17:43:54 +0100
changeset 8549 851d39c10d9f
parent 8548 7c5fe9d17712
child 8550 b44c185f8018
goal_spec: [!];
src/Pure/Isar/args.ML
--- a/src/Pure/Isar/args.ML	Tue Mar 21 17:32:44 2000 +0100
+++ b/src/Pure/Isar/args.ML	Tue Mar 21 17:43:54 2000 +0100
@@ -151,7 +151,8 @@
 val from_to =
   nat -- ($$$$ "-" |-- nat) >> (fn (i, j) => fn tac => Seq.INTERVAL tac i j) ||
   nat --| $$$$ "-" >> (fn i => fn tac => fn st => Seq.INTERVAL tac i (Thm.nprems_of st) st) ||
-  nat >> (fn i => fn tac => tac i);
+  nat >> (fn i => fn tac => tac i) ||
+  $$$$ "!" >> K ALLGOALS;
 
 val goal = $$$$ "[" |-- !!! (from_to --| $$$$ "]");
 fun goal_spec def = Scan.lift (Scan.optional goal def);