aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2004-06-17 21:24:33 +0000
committerDavid Aspinall2004-06-17 21:24:33 +0000
commit7c2b42201d25fc792efcf8e4091bea5db6ca0cdb (patch)
tree54149f36ac9b6108227096a1b3b2b23ae59e6167
parentf9b399baf29e5bb638c3c7921dc5471ed2b066c3 (diff)
Fix grouping for isar-generic-expression.
-rw-r--r--isar/isar-syntax.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/isar/isar-syntax.el b/isar/isar-syntax.el
index e9a7a159..88ddd8f6 100644
--- a/isar/isar-syntax.el
+++ b/isar/isar-syntax.el
@@ -224,7 +224,9 @@ This list is in the right format for proof-easy-config.")
(defconst isar-name-regexp
(concat "\\s-*\\(" isar-string "\\|" isar-id "\\)\\s-*")
- "Regexp matching Isabelle/Isar names; surrounding space and contents grouped.")
+ "Regexp matching Isabelle/Isar names; surrounding space and contents grouped.
+Group number 1 matches the identifier possibly with quotes; group number 2
+matches contents of quotes for quoted identifiers.")
(defconst isar-tac-regexp
"\\<[A-Za-z][A-Za-z0-9'_]*_tac\\>"
@@ -450,7 +452,7 @@ This list is in the right format for proof-easy-config.")
(concat "\\<" kw "\\>"
"\\(?:\\s-*(\\s-*in[^)]+)\\)?"
isar-name-regexp "[[:=]")
- 2))
+ 1))
isar-keywords-fume))
;; ----- indentation