diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 8a5bd07b25b..45e4905b878 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -96,7 +96,11 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") | |||
| 96 | ;; /usr/src/foo/foo.c(8): warning: w may be used before set | 96 | ;; /usr/src/foo/foo.c(8): warning: w may be used before set |
| 97 | ;; or GNU utilities | 97 | ;; or GNU utilities |
| 98 | ;; foo.c:8: error message | 98 | ;; foo.c:8: error message |
| 99 | ("^\\([^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2) | 99 | ;; |
| 100 | ;; We'll insist that the number be followed by a colon or closing | ||
| 101 | ;; paren, because otherwise this matches just about anything | ||
| 102 | ;; containing a number with spaces around it. | ||
| 103 | ("^\\([^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:)]" 1 2) | ||
| 100 | ;; 4.3BSD lint pass 2 | 104 | ;; 4.3BSD lint pass 2 |
| 101 | ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) | 105 | ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) |
| 102 | ("[ \t:]+\\([^:( \t\n]+\\)[ \t]*[:(]*(+[ \t]*\\([0-9]+\\))[:) \t]*$" 1 2) | 106 | ("[ \t:]+\\([^:( \t\n]+\\)[ \t]*[:(]*(+[ \t]*\\([0-9]+\\))[:) \t]*$" 1 2) |
| @@ -119,6 +123,9 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") | |||
| 119 | ("in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) | 123 | ("in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) |
| 120 | ;; IBM AIX lint is too painful to do right this way. File name | 124 | ;; IBM AIX lint is too painful to do right this way. File name |
| 121 | ;; prefixes entire sections rather than being on each line. | 125 | ;; prefixes entire sections rather than being on each line. |
| 126 | |||
| 127 | ;; MIPS RISC CC - the one distributed with Ultrix. | ||
| 128 | (": \\([^,]+\\), line \\([0-9]+\\):" 1 2) | ||
| 122 | ) | 129 | ) |
| 123 | "Alist that specifies how to match errors in compiler output. | 130 | "Alist that specifies how to match errors in compiler output. |
| 124 | Each element has the form (REGEXP FILE-IDX LINE-IDX). | 131 | Each element has the form (REGEXP FILE-IDX LINE-IDX). |