From 5bcccd7ed80acdb9904d5a623f1aba42183803a4 Mon Sep 17 00:00:00 2001
From: Guillaume Melquiond
Date: Thu, 28 Apr 2016 20:38:07 +0200
Subject: Make the language grammar much more precise. (Fix bugs #4682 and
#4683)
Rather than being isolated words, commands and tactics now extend till
dot separators. So bullets can be defined as living only at the top level
of proofs, which should make their detection much more robust.
---
ide/coq.lang | 59 +++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 37 insertions(+), 22 deletions(-)
diff --git a/ide/coq.lang b/ide/coq.lang
index e25eedbca9..484264ece3 100644
--- a/ide/coq.lang
+++ b/ide/coq.lang
@@ -95,11 +95,24 @@
Type
-
+
+
+
+
+
+ \.\.
+
+
+
+
+
+
+
+
\%{decl_head}
@@ -110,14 +123,7 @@
-
-
-
- \.\.
-
-
-
-
+
@@ -127,21 +133,19 @@
-
-
-
-
-
- \%{dot_sep}\s*(?'bul'\%{bullet})
+
+ \%{bullet}
+
+
+ \%[
+ \%{dot_sep}
-
+
+
-
- ^\s*\%{bullet}
-
@@ -150,11 +154,19 @@
\%{dot_sep}
-
-
+
+
+
+
+
+
+
+ \%[
+ \%{dot_sep}
+
About
Check
@@ -166,7 +178,7 @@
Transparent
-
+
Add
Load
(Print|Reset)\%{space}+Extraction\%{space}+(Inline|Blacklist)
@@ -228,7 +240,10 @@
+
+
+
--
cgit v1.2.3