diff options
| author | Karl Heuer | 1998-12-14 03:12:21 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-12-14 03:12:21 +0000 |
| commit | d914bed56bea6c9932a006e8f8792e4d5d6bb6c7 (patch) | |
| tree | 342db2b2303392f172faf5ea74470303fc441cc6 | |
| parent | e228c7e2d4cc93e458cc1ecba561da69f8a7d317 (diff) | |
| download | emacs-d914bed56bea6c9932a006e8f8792e4d5d6bb6c7.tar.gz emacs-d914bed56bea6c9932a006e8f8792e4d5d6bb6c7.zip | |
(compilation-error-regexp-alist): Insist on a non-digit in the file name.
| -rw-r--r-- | lisp/progmodes/compile.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 74ee72dc459..ddb4942525d 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -156,7 +156,12 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") | |||
| 156 | ;; We'll insist that the number be followed by a colon or closing | 156 | ;; We'll insist that the number be followed by a colon or closing |
| 157 | ;; paren, because otherwise this matches just about anything | 157 | ;; paren, because otherwise this matches just about anything |
| 158 | ;; containing a number with spaces around it. | 158 | ;; containing a number with spaces around it. |
| 159 | ("\\([-a-zA-Z._]+: ?\\)?\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)\ | 159 | |
| 160 | ;; We insist on a non-digit in the file name | ||
| 161 | ;; so that we don't mistake the file name for a command name | ||
| 162 | ;; and take the line number as the file name. | ||
| 163 | ("\\([-a-zA-Z._]+: ?\\)?\ | ||
| 164 | \\([a-zA-Z]?:?[^:( \t\n]*[^:( \t\n0-9][^:( \t\n]*\\)[:(][ \t]*\\([0-9]+\\)\ | ||
| 160 | \\([) \t]\\|:\\(\\([0-9]+:\\)\\|[0-9]*[^:0-9]\\)\\)" 2 3 6) | 165 | \\([) \t]\\|:\\(\\([0-9]+:\\)\\|[0-9]*[^:0-9]\\)\\)" 2 3 6) |
| 161 | 166 | ||
| 162 | ;; Microsoft C/C++: | 167 | ;; Microsoft C/C++: |