diff options
author | Richard M. Stallman <[email protected]> | 2002-04-06 15:57:47 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2002-04-06 15:57:47 +0000 |
commit | fb49f36a2bbca351e893d24ffb951f5f133c86ba (patch) | |
tree | ef5fc84c5234edead3a8897fdd403c65925a8015 /lisp/progmodes | |
parent | 232c8d4c1027dfc587012f33ed818ecd1f35f2b9 (diff) |
(compilation-error-regexp-alist):
New alternatives for FILE:LINE.COL and for ranges of columns and lines.
Diffstat (limited to 'lisp/progmodes')
-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 f9296235ad..c1f8b9b345 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].") \\([a-zA-Z]?:?[^:( \t\n]*[^:( \t\n0-9][^:( \t\n]*\\)[:(][ \t]*\\([0-9]+\\)\ \\([) \t]\\|:\\(\\([0-9]+:\\)\\|[0-9]*[^:0-9]\\)\\)" 2 3 6) + ;; GNU utilities with precise locations (line and columns), + ;; possibly ranges: + ;; foo.c:8.23-9.1: error message + ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ +\\([0-9]+\\)\\.\\([0-9]+\\)\ +-\\([0-9]+\\)\\.\\([0-9]+\\)\ +:" 1 2 3) ;; When ending points are supported, add line = 4 and col = 5. + ;; foo.c:8.23-45: error message + ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ +\\([0-9]+\\)\\.\\([0-9]+\\)\ +-\\([0-9]+\\)\ +:" 1 2 3) ;; When ending points are supported, add line = 2 and col = 4. + ;; foo.c:8-45.3: error message + ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ +\\([0-9]+\\)\ +-\\([0-9]+\\)\\.\\([0-9]+\\)\ +:" 1 2 nil) ;; When ending points are supported, add line = 2 and col = 4. + ;; foo.c:8.23: error message + ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ +\\([0-9]+\\)\\.\\([0-9]+\\)\ +:" 1 2 3) + ;; foo.c:8-23: error message + ("\\([a-zA-Z][-a-zA-Z._0-9]+: ?\\)\ +\\([0-9]+\\)\ +-\\([0-9]+\\)\ +:" 1 2 nil);; When ending points are supported, add line = 3. + ;; Microsoft C/C++: ;; keyboard.c(537) : warning C4005: 'min' : macro redefinition ;; d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if' |