Mercurial > emacs
view src/s/hiuxwe2.h @ 43723:5cd450d9f443
* etags.c: Honour #line directives.
(no_line_directive): New global var; set it for old behaviour.
(main): Remove some #ifdef in the getopt switch.
(add_node, put_entries): Code added to merge different chunks of
nodes referring to the same file. Currently the tags are just
appended, without any check for duplicates.
(Perl_functions): Do not special case ctags.
(readline): Identify #line directives and do the right thing.
(nocharno, invalidcharno): New global vars.
(process_file): Reset nocharno.
(readline): Set nocharno.
(pfnote): Read nocharno and maybe put invalidcharno in node.
(total_size_of_entries, put_entries): Use invalidcharno.
* etags.c: Keep the whole tag table in memory, even in etags mode.
(main): Call put_entries here even in CTAGS mode.
(main, process_file): Check the return values of fclose and pclose.
(process_file): Do not call put_entries after parsing each file.
(process_file): Canonicalise file names even for ctags.
(process_file): Set curfile here...
(find_entries): ... not here any more.
(add_node): In etags mode, build a linked list of entries (on
right pointer) for each file, and link the first entry of each
file on left nodes.
(put_entries): Print here the name of the file.
(put_entries): Print the entries starting from the first file.
(number_len, total_size_of_entries): Define these only iin etags
mode, make the second work only on the right nodes.
* etags.c: Make all global variables static.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Tue, 05 Mar 2002 11:28:26 +0000 |
parents | a723d0712cad |
children | 23a1cea22d13 |
line wrap: on
line source
/* System description file for HI-UX. */ #define BSD 198911 /* system version (year & month) */ #define DBL_DIG 15 /* same as the definition of <float.h> */ #include "bsd4-3.h" /* Identify OSF1 for the m- files. */ #define OSF1 /* To avoid to include the non-existant header file <sys/vlimit.h>, we define BSD4_2. This definition does not mean that the OS is based on BSD 4.2. */ #define BSD4_2 /* Define _BSD to tell the include files we're running under the BSD universe and not the SYSV universe. Define HITACHI and OSF for Xt's Boolean type as int intead of char. (But for these defines, /usr/include/X11/Intrinsic.h defines Boolean as char, but libXt.a on HI-UX/MPP requires it as int.) */ #define C_SWITCH_SYSTEM -D_BSD -DHITACHI -DOSF #define LIBS_SYSTEM -lbsd #define GETPGRP_NO_ARG #define SYSV_SYSTEM_DIR /* If your system uses COFF (Common Object File Format) then define the preprocessor symbol "COFF". */ /* #define COFF */ /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option says where to find X windows at run time. We convert it to a -rpath option which is what OSF1 uses. */ #define LD_SWITCH_SYSTEM #undef KERNEL_FILE #define KERNEL_FILE "/mach_kernel" #undef LDAV_SYMBOL #define LDAV_SYMBOL "avenrun"