changeset 54647:96ee39f37385

(gud-gdb-marker-filter): Include "\n" in regexp to detect the beginning of a level 2 or 3 annotation.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 29 Mar 2004 19:24:11 +0000
parents b885f486b622
children 28269367379e
files lisp/progmodes/gud.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Mon Mar 29 19:23:30 2004 +0000
+++ b/lisp/progmodes/gud.el	Mon Mar 29 19:24:11 2004 +0000
@@ -477,7 +477,7 @@
     ;; gud-marker-acc until we receive the rest of it.	Since we
     ;; know the full marker regexp above failed, it's pretty simple to
     ;; test for marker starts.
-    (if (string-match "\032.*\\'" gud-marker-acc)
+    (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc)
 	(progn
 	  ;; Everything before the potential marker start can be output.
 	  (setq output (concat output (substring gud-marker-acc