]> code.delx.au - gnu-emacs/commitdiff
(gdb-script-font-lock-syntactic-keywords):
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 Aug 2006 18:30:13 +0000 (18:30 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 Aug 2006 18:30:13 +0000 (18:30 +0000)
Correctly mark the end-of-docstring char.

lisp/ChangeLog
lisp/progmodes/gud.el

index d6ca6734af490c746f4a5cc177c09cfe3f3077bc..1f6e469dd629437a1fa10d71f9b117b1eafd932f 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/gud.el (gdb-script-font-lock-syntactic-keywords):
+       Correctly mark the end-of-docstring char.
+
 2006-08-03  Chong Yidong  <cyd@stupidchicken.com>
 
        * simple.el (line-move-to-column): Constrain move-to-column to
 
        * tumme.el (tumme-backward-image): Add prefix argument.  Add error
        when at first image.
+<<<<<<< ChangeLog
+       (tumme-forward-image): Add prefix argument.
+       Add error when at last image.
+=======
        (tumme-forward-image): Add prefix argument.  Add error when at last
        image.
+>>>>>>> 1.9899
 
 2006-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 
index 97e54135a6f0ba7fdcbd0d45aab36c565d9d49ee..84b40e8ba8030acfd002d2151da86de854235b10 100644 (file)
@@ -3180,7 +3180,15 @@ class of the file (using s to separate nested class ids)."
 (defvar gdb-script-font-lock-syntactic-keywords
   '(("^document\\s-.*\\(\n\\)" (1 "< b"))
     ;; It would be best to change the \n in front, but it's more difficult.
-    ("^en\\(d\\)\\>" (1 "> b"))))
+    ("^end\\>"
+     (0 (progn
+          (unless (eq (match-beginning 0) (point-min))
+            (put-text-property (1- (match-beginning 0)) (match-beginning 0)
+                               'syntax-table (eval-when-compile
+                                               (string-to-syntax "> b")))
+            (put-text-property (1- (match-beginning 0)) (match-end 0)
+                               'font-lock-multiline t)
+            nil))))))
 
 (defun gdb-script-font-lock-syntactic-face (state)
   (cond