diff lisp/progmodes/compile.el @ 19351:cf429b6a3ab8

(compilation-error-regexp-alist): New regexp for Caml.
author Richard M. Stallman <rms@gnu.org>
date Thu, 14 Aug 1997 22:11:09 +0000
parents b6c43ddadadc
children bc9b6200a609
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Thu Aug 14 22:10:30 1997 +0000
+++ b/lisp/progmodes/compile.el	Thu Aug 14 22:11:09 1997 +0000
@@ -207,8 +207,6 @@
     ;;	"foo.f", line 3: Error: syntax error near end of statement
     ;; IBM RS6000:
     ;;  "vvouch.c", line 19.5: 1506-046 (S) Syntax error.
-    ;; Unknown compiler:
-    ;;  File "foobar.ml", lines 5-8, characters 20-155: blah blah
     ;; Microtec mcc68k:
     ;;  "foo.c", line 32 pos 1; (E) syntax error; unexpected symbol: "lossage"
     ;; GNAT (as of July 94):
@@ -218,6 +216,10 @@
     (".*\"\\([^,\" \n\t]+\\)\", lines? \
 \\([0-9]+\\)\\([\(.]\\([0-9]+\\)\)?\\)?[:., (-]" 1 2 4)
 
+    ;; Caml compiler:
+    ;;  File "foobar.ml", lines 5-8, characters 20-155: blah blah
+   ("^File \"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[-0-9]*, characters? \\([0-9]+\\)" 1 2 3)
+
     ;; MIPS RISC CC - the one distributed with Ultrix:
     ;;	ccom: Error: foo.c, line 2: syntax error
     ;; DEC AXP OSF/1 cc