]> code.delx.au - gnu-emacs/commitdiff
(compilation-error-regexp-alist): New regexp for Caml.
authorRichard M. Stallman <rms@gnu.org>
Thu, 14 Aug 1997 22:11:09 +0000 (22:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 14 Aug 1997 22:11:09 +0000 (22:11 +0000)
lisp/progmodes/compile.el

index d0b2fb76aa9e099573c34db3cf74b75497f86d1e..d9a7d9d0519893840d30d1ce90ed0ccb115a0edb 100644 (file)
@@ -207,8 +207,6 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2)
     ;; "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 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2)
     (".*\"\\([^,\" \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