aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMakarius Wenzel2000-04-25 14:51:12 +0000
committerMakarius Wenzel2000-04-25 14:51:12 +0000
commit632dc10e9b02543e1648ab6f35301316d427416f (patch)
treedd8dd90e47c8bd697f35003b303243c3e813dd4e
parent91c0a842515ebe696e7155b5a65c61fc5abb3f90 (diff)
removed unused isar-ids;
added isar-indent regexps (from isar.el);
-rw-r--r--isar/isar-syntax.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/isar/isar-syntax.el b/isar/isar-syntax.el
index f01e0e4d..ee7bb275 100644
--- a/isar/isar-syntax.el
+++ b/isar/isar-syntax.el
@@ -141,9 +141,6 @@
(defconst isar-id "\\([A-Za-z][A-Za-z0-9'_]*\\)")
(defconst isar-idx (concat isar-id "\\(\\.[0-9]+\\)?"))
-(defconst isar-ids (proof-ids isar-id "[ \t]*")
- "Matches a sequence of identifiers separated by whitespace.")
-
(defconst isar-string "\"\\(\\([^\\\"]\\|\\\\\"\\)*\\)\"")
(defconst isar-name-regexp
@@ -309,4 +306,13 @@
(proof-anchor-regexp (proof-ids-to-regexp isar-keywords-theory-switch)))
+;; ----- indentation
+
+(defconst isar-indent-regexp (proof-ids-to-regexp isar-keywords-indent))
+(defconst isar-indent-open-regexp (proof-ids-to-regexp isar-keywords-indent-open))
+(defconst isar-indent-close-regexp (proof-ids-to-regexp isar-keywords-indent-close))
+(defconst isar-indent-enclose-regexp (proof-ids-to-regexp isar-keywords-indent-enclose))
+(defconst isar-indent-reset-regexp (proof-ids-to-regexp isar-keywords-indent-reset))
+
+
(provide 'isar-syntax)