diff options
| author | Nick Roberts | 2004-03-29 19:24:11 +0000 |
|---|---|---|
| committer | Nick Roberts | 2004-03-29 19:24:11 +0000 |
| commit | 034de736094efef953ce690ee825f86e2c356487 (patch) | |
| tree | bc0adbd145b21802cb3c447d844c4b4e381b7117 | |
| parent | 5d987733d0f42083da02936d4b3cf660bbcfe6f2 (diff) | |
| download | emacs-034de736094efef953ce690ee825f86e2c356487.tar.gz emacs-034de736094efef953ce690ee825f86e2c356487.zip | |
(gud-gdb-marker-filter): Include "\n" in regexp
to detect the beginning of a level 2 or 3 annotation.
| -rw-r--r-- | lisp/progmodes/gud.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index ff04c05edff..a34b0bb2d48 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -477,7 +477,7 @@ off the specialized speedbar mode." | |||
| 477 | ;; gud-marker-acc until we receive the rest of it. Since we | 477 | ;; gud-marker-acc until we receive the rest of it. Since we |
| 478 | ;; know the full marker regexp above failed, it's pretty simple to | 478 | ;; know the full marker regexp above failed, it's pretty simple to |
| 479 | ;; test for marker starts. | 479 | ;; test for marker starts. |
| 480 | (if (string-match "\032.*\\'" gud-marker-acc) | 480 | (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc) |
| 481 | (progn | 481 | (progn |
| 482 | ;; Everything before the potential marker start can be output. | 482 | ;; Everything before the potential marker start can be output. |
| 483 | (setq output (concat output (substring gud-marker-acc | 483 | (setq output (concat output (substring gud-marker-acc |