1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
Commit Graph

924 Commits

Author SHA1 Message Date
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
Dave Love
ba723d8e82 Include "config.h", not <../src/config.h>. 2001-12-18 16:00:01 +00:00
Dave Love
0b3b82868c Include config.h, stdlib.h.
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2001-12-18 15:59:09 +00:00
Dave Love
076a0ff7b1 Conditionally include various headers. Use "epaths.h",
not <../src/epaths.h>.
(malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2001-12-18 15:57:02 +00:00
Francesco Potortì
e94a3679c5 Etags changes for Prolog and PHP. 2001-12-15 16:08:32 +00:00
Francesco Potortì
62aec606f5 * etags.c (PHP_functions): New function by Diez B. Roggisch,
heavily adapted by me, for parsing PHP.
(LOOKING_AT): New macro.
(Perl_functions, Python_functions, PHP_functions)
(Scheme_functions, Texinfo_nodes): Use it.
(Perl_functions): Use strneq.
(prolog_pred): Renamed to prolog_pr.
(prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman)
in addition to predicates.
[ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
unmodified compile, as Cygwin's regex.h is incompatible with us
(thanks to Markus Hoenicka).
[!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2001-12-15 16:07:31 +00:00
Richard M. Stallman
34e39c9542 *** empty log message *** 2001-12-11 22:56:41 +00:00
Richard M. Stallman
1405e9d029 (clean): Don't delete ../etc/DOC*. 2001-12-11 22:55:45 +00:00
Pavel Janík
296071e768 *** empty log message *** 2001-12-11 07:47:16 +00:00
Pavel Janík
ebf97aaf84 Moved back. 2001-12-11 07:39:13 +00:00
Andrew Innes
76054cc876 (FACE_SUPPORT):
(MOUSE_SUPPORT): 
(FLOAT_SUPPORT): 
(WINNT_SUPPORT): 
(lisp): Reference .el files instead of .elc files, to simplify
bootstrapping.
($(DOC)): Change dependency to just `make-docfile'.
2001-12-03 11:29:01 +00:00
Pavel Janík
0142178afa *** empty log message *** 2001-11-29 17:44:17 +00:00
Pavel Janík
1d42cee4d0 Removed. 2001-11-29 17:37:03 +00:00
Paul Eggert
e8d6a09bd0 (Copyright): Add '(C)' as per coding guidelines.
The following changes are derived from suggestions by Bob Chapman
<rechapman@compuserve.com>.

(printlogline): Also allow tab and newline to separate
'(function):' from the rest of a comment.
(reformat the sorted log entries): Require date and author to
match the clumpname.
2001-11-28 23:55:08 +00:00
Gerd Moellmann
9a190096c7 *** empty log message *** 2001-11-16 11:10:53 +00:00
Gerd Moellmann
cbdf883147 (matching_regexp): Escape '\\'. 2001-11-16 10:48:38 +00:00
Pavel Janík
8ec1b917e7 *** empty log message *** 2001-11-15 20:49:01 +00:00
Pavel Janík
a4663feda2 Add support for --program-prefix, --program-suffix
and --program-transform-name options.
2001-11-15 20:37:20 +00:00
Pavel Janík
fb2d3129dc Comment fixes. 2001-11-15 15:50:31 +00:00
Sam Steingold
dff28924e8 fixed format 2001-11-13 00:07:54 +00:00
Richard M. Stallman
6d8f7d5dd1 (xrealloc): Always pass two args to `fatal'. 2001-11-03 19:04:48 +00:00
Richard M. Stallman
08fa58c940 (popmail): Always pass two args to `error'. 2001-11-03 19:03:48 +00:00
Sam Steingold
5719bb6ff7 ignore *-spd and *.pdb for w32 2001-10-26 16:51:57 +00:00
Ken Raeburn
84e70f7869 fix build problems with krb5 and hesiod support 2001-10-24 22:54:38 +00:00
Gerd Moellmann
6aa97356aa *** empty log message *** 2001-10-21 17:41:43 +00:00
Miles Bader
a3b10252a6 *** empty log message *** 2001-10-21 14:44:58 +00:00
Miles Bader
52d8c52976 (struct rcsoc_state): New type.
(read_c_string_or_comment): Use a variable of type `rcsoc_state' to hold
most of our state.
(put_char): Add STATE parameter, and remove all other parameters
except CH.  Use STATE to get access to all needed state.
(scan_keyword_or_put_char): New function.
2001-10-21 13:48:16 +00:00
Miles Bader
386ca3619c *** empty log message *** 2001-10-21 10:25:36 +00:00
Miles Bader
d097ad5744 (read_c_string_or_comment): Add SAW_USAGE parameter, and implement
scanning for a `usage:' keyword.
(scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
Don't output a usage-string if there was one in the doc string.
2001-10-21 09:21:46 +00:00