]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-error-regexp-alist): Broaden ``Line N of "FILE": msg'' regexp
authorRoland McGrath <roland@gnu.org>
Thu, 8 Jul 1993 23:31:58 +0000 (23:31 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 8 Jul 1993 23:31:58 +0000 (23:31 +0000)
to also match Ultrix f77: ``Error on line N of FILE: msg''.

lisp/progmodes/compile.el

index b20a8739de8cc0208cbc4539bd2965ff1fd0e61a..88daa725119ef4f0f3f63a1486a9df36e1b18783 100644 (file)
@@ -126,8 +126,12 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
     ;; which is regexp Impressionism - it matches almost anything!
     ("([ \t]*\\([^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\))" 1 2)
 
-    ;; Line 45 of "foo.c": bloofel undefined (who does this?)
-    ("\n[Ll]ine[ \t]+\\([0-9]+\\)[ \t]+of[ \t]+\"\\([^\"\n]+\\)\":" 2 1)
+    ;; Ultrix 3.0 f77:
+    ;;  Error on line 3 of t.f: Execution error unclassifiable statement    
+    ;; Unknown who does this:
+    ;;  Line 45 of "foo.c": bloofel undefined
+    ("\n\\(Error on \\)?[Ll]ine[ \t]+\\([0-9]+\\)[ \t]+\
+of[ \t]+\"?\\([^\"\n]+\\)\"?:" 3 2)
 
     ;; Apollo cc, 4.3BSD fc:
     ;; "foo.f", line 3: Error: syntax error near end of statement