aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1998-02-24 12:45:02 +0000
committerDave Love1998-02-24 12:45:02 +0000
commit9b7dee8699537de2149136dd60fbdc787c1e4510 (patch)
treeba19d018901eca5fd25eb1572a265a268abd4274
parentdbfab20562a4cb3e39018f6d2a994d1aa4e49d3f (diff)
downloademacs-9b7dee8699537de2149136dd60fbdc787c1e4510.tar.gz
emacs-9b7dee8699537de2149136dd60fbdc787c1e4510.zip
(compilation-error-regexp-alist): Allow initial
program name in first pattern.
-rw-r--r--lisp/progmodes/compile.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 7b9b9085b36..53c291825f4 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -150,12 +150,14 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
150 ;; foo.f :16 some horrible error message 150 ;; foo.f :16 some horrible error message
151 ;; or GNU utilities with column (GNAT 1.82): 151 ;; or GNU utilities with column (GNAT 1.82):
152 ;; foo.adb:2:1: Unit name does not match file name 152 ;; foo.adb:2:1: Unit name does not match file name
153 ;; or with column and program name:
154 ;; jade:dbcommon.dsl:133:17:E: missing argument for function call
153 ;; 155 ;;
154 ;; 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
155 ;; paren, because otherwise this matches just about anything 157 ;; paren, because otherwise this matches just about anything
156 ;; containing a number with spaces around it. 158 ;; containing a number with spaces around it.
157 ("\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)\\([) \t]\\|\ 159 ("\\([a-zA-Z]+:\\)?\\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)\
158:\\([^0-9\n]\\|\\([0-9]+:\\)\\)\\)" 1 2 5) 160\\([) \t]\\|:\\([^0-9\n]\\|\\([0-9]+:\\)\\)\\)" 2 3 6)
159 161
160 ;; Microsoft C/C++: 162 ;; Microsoft C/C++:
161 ;; keyboard.c(537) : warning C4005: 'min' : macro redefinition 163 ;; keyboard.c(537) : warning C4005: 'min' : macro redefinition