diff options
| author | Richard M. Stallman | 2002-04-06 15:57:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-06 15:57:47 +0000 |
| commit | fb49f36a2bbca351e893d24ffb951f5f133c86ba (patch) | |
| tree | ef5fc84c5234edead3a8897fdd403c65925a8015 /lisp/progmodes/compile.el | |
| parent | 232c8d4c1027dfc587012f33ed818ecd1f35f2b9 (diff) | |
| download | emacs-fb49f36a2bbca351e893d24ffb951f5f133c86ba.tar.gz emacs-fb49f36a2bbca351e893d24ffb951f5f133c86ba.zip | |
(compilation-error-regexp-alist):
New alternatives for FILE:LINE.COL and for ranges of columns and lines.
Diffstat (limited to 'lisp/progmodes/compile.el')
| -rw-r--r-- | lisp/progmodes/compile.el | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index f9296235add..c1f8b9b345a 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -270,6 +270,33 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") | |||
| 270 | \\([a-zA-Z]?:?[^:( \t\n]*[^:( \t\n0-9][^:( \t\n]*\\)[:(][ \t]*\\([0-9]+\\)\ | 270 | \\([a-zA-Z]?:?[^:( \t\n]*[^:( \t\n0-9][^:( \t\n]*\\)[:(][ \t]*\\([0-9]+\\)\ |
| 271 | \\([) \t]\\|:\\(\\([0-9]+:\\)\\|[0-9]*[^:0-9]\\)\\)" 2 3 6) | 271 | \\([) \t]\\|:\\(\\([0-9]+:\\)\\|[0-9]*[^:0-9]\\)\\)" 2 3 6) |
| 272 | 272 | ||
| 273 | ;; GNU utilities with precise locations (line and columns), | ||
| 274 | ;; possibly ranges: | ||
| 275 | ;; foo.c:8.23-9.1: error message | ||
| 276 | ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ | ||
| 277 | \\([0-9]+\\)\\.\\([0-9]+\\)\ | ||
| 278 | -\\([0-9]+\\)\\.\\([0-9]+\\)\ | ||
| 279 | :" 1 2 3) ;; When ending points are supported, add line = 4 and col = 5. | ||
| 280 | ;; foo.c:8.23-45: error message | ||
| 281 | ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ | ||
| 282 | \\([0-9]+\\)\\.\\([0-9]+\\)\ | ||
| 283 | -\\([0-9]+\\)\ | ||
| 284 | :" 1 2 3) ;; When ending points are supported, add line = 2 and col = 4. | ||
| 285 | ;; foo.c:8-45.3: error message | ||
| 286 | ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ | ||
| 287 | \\([0-9]+\\)\ | ||
| 288 | -\\([0-9]+\\)\\.\\([0-9]+\\)\ | ||
| 289 | :" 1 2 nil) ;; When ending points are supported, add line = 2 and col = 4. | ||
| 290 | ;; foo.c:8.23: error message | ||
| 291 | ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ | ||
| 292 | \\([0-9]+\\)\\.\\([0-9]+\\)\ | ||
| 293 | :" 1 2 3) | ||
| 294 | ;; foo.c:8-23: error message | ||
| 295 | ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ | ||
| 296 | \\([0-9]+\\)\ | ||
| 297 | -\\([0-9]+\\)\ | ||
| 298 | :" 1 2 nil);; When ending points are supported, add line = 3. | ||
| 299 | |||
| 273 | ;; Microsoft C/C++: | 300 | ;; Microsoft C/C++: |
| 274 | ;; keyboard.c(537) : warning C4005: 'min' : macro redefinition | 301 | ;; keyboard.c(537) : warning C4005: 'min' : macro redefinition |
| 275 | ;; d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if' | 302 | ;; d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if' |