Admin/ProofGeneral/3.7.1.1/isar-antiq-regexp.patch
author wenzelm
Thu, 15 Mar 2012 17:40:26 +0100
changeset 46945 26007caf6e9c
parent 41639 d1cac8c778ed
permissions -rw-r--r--
declare keywords as side-effect of header edit; parse_command span is now lazy instead of future, to happen synchronously after header edit in new_exec (before execution);

--- a/isar/isar-syntax.el	Wed Aug 06 11:43:47 2008 +0200
+++ b/isar/isar-syntax.el	Thu Sep 18 15:21:16 2008 +0200
@@ -252,14 +252,9 @@
 
 ;; antiquotations
 
-;; the \{0,10\} bound is there because otherwise font-lock sometimes hangs for
-;; incomplete antiquotations like @{text bla"} (even though it is supposed to
-;; stop at eol anyway).
-
-(defconst isar-antiq-regexp
-  (concat "@{\\(?:[^\"{}]+\\|" isar-string "\\)\\{0,10\\}}")
-  "Regexp matching Isabelle/Isar antiquoations.")
-
+(defconst isar-antiq-regexp 
+  (concat "@{\\(?:[^\"{}]\\|" isar-string "\\)*}") 
+  "Regexp matching Isabelle/Isar antiquotations.")
 
 ;; keyword nesting