aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/isar/ParsingBug1.thy15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/isar/ParsingBug1.thy b/etc/isar/ParsingBug1.thy
new file mode 100644
index 00000000..e1a783ab
--- /dev/null
+++ b/etc/isar/ParsingBug1.thy
@@ -0,0 +1,15 @@
+(*
+ This is a small test case for parsing the { nested proof } phrase.
+
+ This case causes problems with the new parsing mechanism, see
+ comments in isar/isar-syntax.el and generic/proof-script.el
+*)
+
+
+theory ParsingBug1 = Main:
+
+theorem "P"
+proof -
+ assume a: "Q"
+ {fix i have "Q" sorry}
+qed