(compilation-error-regexp-alist): Broaden ``Line N of "FILE": msg'' regexp

to also match Ultrix f77: ``Error on line N of FILE: msg''.
This commit is contained in:
Roland McGrath 1993-07-08 23:31:58 +00:00
parent e4e593ae57
commit ff7351344a

View 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