1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 12:40:56 -08:00
Commit graph

1802 commits

Author SHA1 Message Date
Jason Rumney
dd87b4cc4c Move backquote.elc into emacs-lisp. 2002-03-28 20:11:54 +00:00
Colin Walters
2f1de3dd26 Initial version. 2002-03-27 20:57:06 +00:00
Paul Eggert
dfef6d4974 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
`sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
the latter usage.
2002-03-23 06:49:12 +00:00
Paul Eggert
61bbbf8d13 (main): Use sort -o TAGFILE TAGFILE' instead of sort TAGFILE -o
TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
2002-03-23 06:48:31 +00:00
Jason Rumney
ca55a1e303 Fix formatting of previous entry 2002-03-12 22:29:10 +00:00
Francesco Potortì
a13d6523e0 *** empty log message *** 2002-03-12 14:17:25 +00:00
Francesco Potortì
49adb67ab2 * etags.c (Python_functions): Skip spaces at beginning of lines.
(Python_functions, PHP_functions): Name tags, for ctags' sake.
(TeX_commands): Name tags.  Correction of old disabled code.

* etags.c (curfiledir, curtagfname): New global variables.
(process_file): Initialise them.
(readline): Canonicalize the name found in #line directive.
2002-03-12 13:31:57 +00:00
Francesco Potortì
4fff90e4ff *** empty log message *** 2002-03-12 11:16:25 +00:00
Jason Rumney
893a741e97 *** empty log message *** 2002-03-06 23:20:04 +00:00
Jason Rumney
14ca7c9849 (put_entries): Use #if !CTAGS, to fix link error on
compilers that don't optimize out dead code.
2002-03-06 23:14:29 +00:00
Francesco Potortì
db59058201 * 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.
2002-03-05 11:28:26 +00:00
Francesco Potortì
51aeded3e6 *** empty log message *** 2002-03-05 11:27:51 +00:00
Juanma Barranquero
50ce1f6206 *** empty log message *** 2002-02-25 16:07:54 +00:00
Juanma Barranquero
e63e8d3ed3 Add missing backslash. 2002-02-25 15:47:41 +00:00
Jason Rumney
82a399d298 *** empty log message *** 2002-02-24 18:40:25 +00:00
Jason Rumney
7f379e5ba7 (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to using .elc files.
(lisp): Sync with list in src/Makefile.in
(VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2002-02-24 18:39:16 +00:00
Richard M. Stallman
95bc7904bc *** empty log message *** 2002-02-15 20:01:30 +00:00
Paul Eggert
3c58afc555 Update copyright date. 2002-02-10 08:10:43 +00:00
Paul Eggert
a279c92001 * rcs-checkin: Use sort -k 2', not sort +1', as POSIX 1003.1-2001
disallows the old syntax.
2002-02-10 08:09:53 +00:00
Paul Eggert
ca32301638 Use sort -k 2', not sort +1', as POSIX 1003.1-2001
disallows the old syntax.
2002-02-10 08:08:59 +00:00
Paul Eggert
0caa685d66 * rcs2log(Copyright): Update to 2002.
(AWK, TMPDIR): Work around portability problem in broken shells that
don't understand `: ${VAR=val}'.
(SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
Prefer the new -k option to the traditional +M -N option.
2002-02-03 17:33:19 +00:00
Paul Eggert
b2ba2352ed (Copyright): Update to 2002.
(AWK, TMPDIR): Work around portability problem in broken shells that
don't understand `: ${VAR=val}'.
(SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
Prefer the new -k option to the traditional +M -N option.
2002-02-03 17:31:31 +00:00
Pavel Janík
a00e9335a4 Remove unnecessary whitespaces. 2002-01-05 23:37:58 +00:00
Pavel Janík
03950b5baf *** empty log message *** 2002-01-01 22:14:32 +00:00
Pavel Janík
25b18337e9 (main): Parenthesize assignment when used as truth value to prevent gcc
warnings.
2002-01-01 22:08:54 +00:00
Pavel Janík
4838e624ad Include <config.h>. 2002-01-01 19:15:26 +00:00
Pavel Janík
80b2cbf263 Remove unnecessary whitespaces. 2001-12-30 22:09:01 +00:00
Pavel Janík
9d8f0a614a Remove unnecessary whitespace. 2001-12-30 22:07:35 +00:00
Pavel Janík
2f8fe2f420 Include <config.h>. 2001-12-29 22:25:06 +00:00
Pavel Janík
f22d478515 Remove trailing whitespaces. 2001-12-29 22:21:10 +00:00
Francesco Potortì
eaaacacdf4 support for Perl packages
* etags.c (Perl_functions): Tag packages and use them in sub tags.
(get_tag): Return a pointer to the tag that is found.

 general cleanup and streamlining
* etags.c (LOOKING_AT): Use !intoken instead of iswhite.
(F_takeprec): Renamed from takeprec.  All callers changed.
(F_getit): Renamed from getit.  All callers changed.
(nocase_tail): Renamed from tail.  All callers changed.
(Ada_getit): Renamed from adagetit.  All callers changed.
(L_getit): Simplified by using get_tag.
(Perl_functions, Postscript_functions, erlang_attribute): Use the
modified LOOKING_AT.
(notinname): Removed '[' and added ')' to the recognised chars.
(LOOKING_AT, get_tag, PHP_functions): Use notinname.
(Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
Clarified, using strneq or notinname.
(L_isdef, L_isquote): Removed.
(Lisp_functions, L_getit): Clarified.

 changes for standalone compilation
* etags.c: (P_): Renamed to __P for consistency with config.h.
[HAVE_CONFIG_H]: Let config.h deal with __P.
[__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
[!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
gperf code needs it.
[HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
[HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
(xmalloc, xrealloc): Use PTR instead of long *.
(bool): Make it a define, not a typedef, for C++ compilers.
(pattern): Members renamed to avoid name clash in some C++ compilers.
(get_language_from_langname): Use const argument.
2001-12-26 22:11:21 +00:00
Francesco Potortì
a60e4de9e8 Etags.c:
support for Perl packages
 general cleanup and streamlining
 changes for standalone compilation
2001-12-26 22:07:34 +00:00
Francesco Potortì
13dc057682 Removed names of people from etags.c change log entries. 2001-12-26 21:56:47 +00:00
Pavel Janík
c95eaa61ce *** empty log message *** 2001-12-22 14:18:08 +00:00
Pavel Janík
44eec52586 Remove mocklisp files. 2001-12-22 14:02:33 +00:00
Richard M. Stallman
a43dbef889 Comment change. 2001-12-22 03:17:24 +00:00
Richard M. Stallman
6666a3c378 *** empty log message *** 2001-12-22 03:16:49 +00:00
Richard M. Stallman
cdbf596449 Comment change. 2001-12-22 03:12:40 +00:00
Pavel Janík
594aa06631 Conditionally include config.h.
Clean-up whitespaces.
2001-12-19 07:26:31 +00:00
Pavel Janík
5b2b0b72d5 Clean-up whitespaces. 2001-12-19 07:24:46 +00:00
Pavel Janík
b8509940e9 Conditionally include config.h. 2001-12-19 07:23:54 +00:00
Pavel Janík
e69233c2de Include "config.h", not <../src/config.h>.
(main): Parenthesize assignment when used as truth value to
prevent gcc warnings.
2001-12-19 07:21:17 +00:00
Pavel Janík
69bfc389e9 Include stdlib.h and string.h conditionally. 2001-12-19 06:03:57 +00:00
Eli Zaretskii
e4e34e31ef *** empty log message *** 2001-12-18 17:56:11 +00:00
Eli Zaretskii
5a13a7ec04 (main): Use time_t, not long, to avoid a compiler warning. 2001-12-18 17:48:08 +00:00
Pavel Janík
ffb7c9c698 *** empty log message *** 2001-12-18 17:40:09 +00:00
Pavel Janík
af5cae0572 Fix previous change. 2001-12-18 17:39:22 +00:00
Dave Love
fb5aa7acba *** empty log message *** 2001-12-18 16:47:01 +00:00
Dave Love
f0e8db05af Conditionally include fcntl.h. 2001-12-18 16:02:14 +00:00
Dave Love
a33c19b172 Include "config.h", not <../src/config.h>.
(_XOPEN_SOURCE): Define as 500.
2001-12-18 16:01:11 +00:00