Mercurial > emacs
annotate src/m/ibm370aix.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 | ee5e9fbcd051 |
children | c8fb06423da0 |
rev | line source |
---|---|
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
1 /* m/ file for IBM 370 running AIX. */ |
456 | 2 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
3 #include "ibmps2-aix.h" |
456 | 4 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
5 #define AIX |
456 | 6 |
10077
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
7 /* Include unistd.h, even though we don't define POSIX. */ |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
8 #define NEED_UNISTD_H |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
9095
diff
changeset
|
9 |
4642
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
10 /* these were defined in "ibmps2-aix.h" */ |
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
11 #undef INTEL386 |
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
12 #undef aix386 |
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
13 |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
14 /* 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
|
15 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
|
16 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
17 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
18 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
19 #undef TEXT_START |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
20 #undef SEGMENT_MASK |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
21 #undef DATA_SECTION_ALIGNMENT |
456 | 22 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
23 #define TEXT_START 0 |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
24 #define SEGMENT_MASK 0 |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
25 #define DATA_SECTION_ALIGNMENT 0x00001000 |
456 | 26 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
27 #undef LOAD_AVE_CVT |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
28 #undef LOAD_AVE_TYPE |
456 | 29 /* Data type of load average, as read out of kmem. */ |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
30 #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0) |
456 | 31 #define LOAD_AVE_TYPE double |
32 | |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
33 #undef LIBS_MACHINE |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
34 #define LIBS_MACHINE |
4642
aceaf48ee60d
(HAVE_VFORK, INTEL386, aix386): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
4464
diff
changeset
|
35 #undef HAVE_VFORK |
456 | 36 |
4464
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
37 #undef LD_SWITCH_MACHINE |
3fbda0e7f793
Total rewrite; includes ibmps2-aix.h.
Richard M. Stallman <rms@gnu.org>
parents:
3700
diff
changeset
|
38 #define LD_SWITCH_MACHINE -xa |