Mercurial > emacs
annotate src/m/cnvrgnt.h @ 17623:a09fd9348b0d
Support compilers that give a message each time the file being
compiled changes but don't include a file name each error message.
Speed up by searching for regexps one by one instead of combining.
(compile-internal): Takes more optional arguments. All five regexp
alists can be given as argument.
Change name of variable regexp-alist to error-regexp-alist. Change
some local variables directly by setq instead of rebinding by let.
(compilation-shell-minor-mode): New minor mode.
Similar to compilation-minor-mode, but key bindings don't
collide with shell mode.
(compilation-shell-minor-mode-map, compilation-shell-minor-mode):
New variables.
(compile-auto-highlight): Doc fix.
(compilation-error-regexp-alist): Removed unnecessary line break
in first regexp. Replaced \\(\\|.* on \\) by \\(.* on \\)? in
regexp for Absoft FORTRAN 77 Compiler 3.1.3. Added regexp for
SPARCcompiler Pascal. Divided long line in regexp for Cray C
compiler error messages. Made comment fit in line at regexp for
Sun Ada (VADS, Solaris). FILE-IDX may be nil, meaning an
error message with no file name, so the file name must be taken
from an earlier message. LINE-IDX may be a function which is
called with two arguments the file name and column strings and
returns an error position descriptor.
(compilation-enter-directory-regexp-alist)
(compilation-leave-directory-regexp-alist): New variables.
(compilation-file-regexp-alist)
(compilation-nomessage-regexp-alist): New variables.
(grep-regexp-alist): Removed unnecessary ^ at beginning of regexp.
(compilation-enter-directory-regexp)
(compilation-leave-directory-regexp): Variables deleted.
Replaced by compilation-enter-directory-regexp-alist and
compilation-leave-directory-regexp-alist.
(compilation-buffer-p): Return true also for buffer in
compilation-shell-minor-mode.
(compilation-next-error-locus): Split a long line.
(count-regexp-groupings): Comment about this function not being
needed any more.
(compilation-current-file, compilation-regexps); New variables.
(compilation-parse-errors): Large parts rewritten. Don't put the
regexps together in one large regexp, instead match them one by one.
Support the generalized subexpression indices.
(compile-collect-regexps, compile-buffer-substring): New functions
supporting compilation-parse-errors.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 03 May 1997 04:37:52 +0000 |
parents | ee40177f6c68 |
children | 8ef6f1ac6729 |
rev | line source |
---|---|
456 | 1 /* machine description file for convergent S series. |
2 Copyright (C) 1989 Free Software Foundation, Inc. | |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
456 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
456 | 20 |
21 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
22 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
23 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
24 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
25 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
26 |
456 | 27 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
28 * group of arguments and treat it as an array of the arguments. */ | |
29 | |
30 /* #define NO_ARG_ARRAY */ | |
31 | |
32 /* Define WORD_MACHINE if addresses and such have | |
33 * to be corrected before they can be used as byte counts. */ | |
34 | |
35 /* #define WORD_MACHINE */ | |
36 | |
37 /* Now define a symbol for the cpu type, if your compiler | |
38 does not define it automatically. */ | |
39 | |
40 #define m68000 | |
41 | |
42 /* Use type int rather than a union, to represent Lisp_Object. | |
43 This is desirable for most machines. */ | |
44 | |
45 #define NO_UNION_TYPE | |
46 | |
47 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
48 the 24-bit bit field into an int. In other words, if bit fields | |
49 are always unsigned. | |
50 | |
51 If you use NO_UNION_TYPE, this flag does not matter. */ | |
52 | |
53 #define EXPLICIT_SIGN_EXTEND | |
54 | |
55 /* Data type of load average, as read out of kmem. | |
56 These are commented out since it is not supported by this machine. */ | |
57 | |
58 #define LOAD_AVE_TYPE double | |
59 | |
60 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
61 | |
62 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
63 | |
64 /* Define CANNOT_DUMP on machines where unexec does not work. | |
65 Then the function dump-emacs will not be defined | |
66 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
67 | |
68 /* #define CANNOT_DUMP */ | |
69 | |
70 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
71 pure and impure space as loaded can vary, and even their | |
72 relative order cannot be relied on. | |
73 | |
74 Otherwise Emacs assumes that text space precedes data space, | |
75 numerically. */ | |
76 | |
77 #undef VIRT_ADDR_VARIES | |
78 | |
79 /* Define C_ALLOCA if this machine does not support a true alloca | |
80 and the one written in C should be used instead. | |
81 Define HAVE_ALLOCA to say that the system provides a properly | |
82 working alloca function and it should be used. | |
83 Define neither one if an assembler-language alloca | |
84 in the file alloca.s should be used. */ | |
85 | |
86 #define C_ALLOCA | |
87 #undef HAVE_ALLOCA | |
88 | |
89 /* Define NO_REMAP if memory segmentation makes it not work well | |
90 to change the boundary between the text section and data section | |
91 when Emacs is dumped. If you define this, the preloaded Lisp | |
92 code will not be sharable; but that's better than failing completely. */ | |
93 | |
94 #define NO_REMAP | |
95 | |
96 /* Change some things to avoid bugs in compiler. */ | |
97 | |
98 #define SWITCH_ENUM_BUG | |
99 | |
100 /* fork(2) and vfork() are the same here. */ | |
101 | |
102 #define HAVE_VFORK | |
103 | |
104 /* grows towards lower addresses. */ | |
105 | |
106 #define STACK_DIRECTION -1 | |
107 | |
108 /* some errno.h's don't actually allocate the variable itself. | |
109 Cause crt0.c to define errno. */ | |
110 | |
111 #define NEED_ERRNO |