From 83fca033b496a6438905414cc6a489e494299084 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Wed, 18 Nov 1998 13:31:56 +0000 Subject: Added clear_response_buffer regexp, use_thy_and_update now in ProofGeneral --- isa/isa-syntax.el | 21 ++++++--------------- isa/isa.el | 5 ++++- 2 files changed, 10 insertions(+), 16 deletions(-) (limited to 'isa') diff --git a/isa/isa-syntax.el b/isa/isa-syntax.el index c00918dc..1bf2775f 100644 --- a/isa/isa-syntax.el +++ b/isa/isa-syntax.el @@ -104,26 +104,17 @@ (defconst isa-id proof-id) -(defconst isa-ids (proof-ids isa-id)) +(defconst isa-ids (proof-ids isa-id "[ \t]*") + "Matches a sequence of identifiers separated by whitespace.") -;; FIXME: rubbish syntax here. -(defun isa-abstr-regexp (paren char) - (concat paren "\\s-*\\(" isa-ids "\\)\\s-*" char)) +(defun isa-binder-regexp (binder dot) + (concat binder "\\s-*\\(" isa-ids "\\)\\s-*" dot)) -;; FIXME: rubbish syntax here. (defvar isa-font-lock-terms (list ;; lambda binders - (list (concat "\%\\s-*\\(" isa-ids "\\)\\.") 1 - 'proof-declaration-name-face) - - ;; Pi binders - (list (isa-abstr-regexp "(" ":") 1 'proof-declaration-name-face) - - ;; Kinds - (cons (concat "\\\\|\\\\|\\