[gnu.emacs] Parsing of compiler error messages.

lijewski@batcomputer.tn.cornell.edu (Mike Lijewski) (01/19/90)

     Could someone tell me where I need to look to change the regexp
which GNU Emacs uses when parsing error strings.  In Jove, this is
a variable, while in Emacs it doesn't appear to be one.  At least there
is nothing in the documentation which gives me the impression that it
is readily changeable.  My compiler's error messages have the following
format:

E "dog.c" L94/C11:	writebytes: Identifier is undeclared

Doing a M-x compile and then C-x ` fails to find any errors.  Any help
would be greatly appreciated.


-- 
Mike Lijewski  (H)607/277-7623 (W)607/255-0539 (desk)607/255-2960
Cornell National Supercomputer Facility
ARPA: mjlx@cornellf.tn.cornell.edu  BITNET: mjlx@cornellf.bitnet
SMAIL:  1122 Ellis Hollow Rd. Ithaca, NY  14850

grunwald@foobar.colorado.edu (Dirk Grunwald) (01/19/90)

from compile.el
----------

;; The filename excludes colons to avoid confusion when error message
;; starts with digits.
(defvar compilation-error-regexp
  "\\([^ :\n]+\\(: *\\|, line \\|(\\)[0-9]+\\)\\|\\([0-9]+ *of *[^ \n]+\\)"
  "Regular expression for filename/linenumber in error in compilation log.")