1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

1020 Commits

Author SHA1 Message Date
Francesco Potortì
87046df8c7 Two bug corrections and a new feature for etags. 2002-08-28 10:34:04 +00:00
Stefan Monnier
02ce3e80f0 *** empty log message *** 2002-08-19 21:47:53 +00:00
Stefan Monnier
56cf516205 (scan_keyword_or_put_char, write_c_args): Use `fn'
for the function name in the usage info.
2002-08-19 21:47:38 +00:00
Colin Walters
cf398788c7 (P_): New macro. Use it for all prototypes.
(lose): Don't use varargs.
(lose_syserr): New function.

Change all functions to K&R style.
2002-08-01 01:31:44 +00:00
Colin Walters
5fba5c216b *** empty log message *** 2002-08-01 01:31:04 +00:00
Andreas Schwab
712eaee029 (localstatedir): New variable. 2002-07-30 13:53:27 +00:00
Pavel Janík
c89ed6ef9d Fix regexp for finding return address fields. 2002-07-29 20:05:34 +00:00
Stefan Monnier
1e04216025 (scan_c_file): Warn about missing `usage' info. 2002-07-15 20:00:03 +00:00
Andreas Schwab
3fc8736b78 . 2002-07-08 09:36:47 +00:00
Pavel Janík
e9b6020947 *** empty log message *** 2002-07-05 20:01:10 +00:00
Pavel Janík
85271e4161 Obey the rmail file and use the unpruned header properly. 2002-07-05 19:56:34 +00:00
Francesco Potortì
d76132d041 Rewrote the description of implicit tag names in etags.c 2002-06-27 10:52:05 +00:00
Pavel Janík
9ee028d2b5 New file. 2002-06-26 15:50:47 +00:00
Francesco Potortì
081b7c705d (F_getit, Fortran_functions, Ada_getit, Asm_labels)
(Python_functions, PHP_functions, PHP_functions, PHP_functions)
(PHP_functions, PHP_functions, Cobol_paragraphs)
(Makefile_targets, Postscript_functions, Texinfo_nodes)
(prolog_pr, erlang_func, erlang_attribute)
(Perl_functions, Perl_functions, Pascal_functions)
(TeX_commands, get_tag): Use make_tag instead of pfnote.
(get_tag): Prototype changed, all callers changed.
2002-06-21 12:36:12 +00:00
Francesco Potortì
e1af8d401e etags 2002-06-21 12:35:42 +00:00
Francesco Potortì
74032cc3c5 A bug in the new function. No change log. 2002-06-20 12:20:15 +00:00
Francesco Potortì
2201e3dcd6 Use, together with etags.el, an optimised form of tags,
which are almost always unnamed.  etags.el looks for an explicit
tag name, then for an implicit one.  See make_tag for details.
The change is both forwards and backwards compatible.
(make_tag): New function (was the disabled function new_pfnote).
(make_C_tag): Use it.
2002-06-20 11:48:31 +00:00
Francesco Potortì
ceaeb365d0 implicit tag names. 2002-06-20 11:48:04 +00:00
Francesco Potortì
f175bfffb0 etags 2002-06-20 08:52:22 +00:00
Francesco Potortì
2b74996486 (add_regex): Invalid regexp modifiers are ignored.
(Makefile_targets): Tag variables unless --no-globals.
(LOOP_ON_INPUT_LINES): Serious bug corrected.
2002-06-20 08:43:57 +00:00
Francesco Potortì
89fb2be16c * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
(invalidate_nodes): Bug corrected.
(print_help): Better help for regexps.
2002-06-13 17:53:35 +00:00
Francesco Potortì
82ef78b31d *** empty log message *** 2002-06-13 17:52:57 +00:00
Juanma Barranquero
7a8940dabb (lisp): Add international/ucs-tables.elc and font-core.elc. 2002-06-13 16:32:23 +00:00
Francesco Potortì
6861f0e327 New multi-line regexp and new regexp syntax. 2002-06-13 11:15:46 +00:00
Francesco Potortì
24dbe96a10 New multi-line regexp and new regexp syntax.
(arg_type): at_icregexp label removed (obsolete).
(pattern): New member multi_line for multi-line regexps.
(filebuf): A global buffer containing the whole file as a string
for multi-line regexp matching.
(need_filebuf): Global flag raised if multi-line regexps used.
(print_help): Document new regexp modifiers, remove references to
obsolete option --ignore-case-regexp.
(main): Do not set regexp syntax and translation table here.
(main): Treat -c option as a backward compatibility hack.
(main, find_entries): Init and free filebuf.
(find_entries): Call regex_tag_multiline after the regular parser.
(scan_separators): Check for untermintaed regexp and return NULL.
(analyse_regex, add_regex): Remove the ignore_case argument, which
is now a modifier to the regexp.  All callers changed.
(add_regex): Manage the regexp modifiers.
(regex_tag_multiline): New function.  Reads from filebuf.
(readline_internal): If necessary, copy the whole file into filebuf.
(readline): Skip multi-line regexps, leave them to regex_tag_multiline.

(add_regex): Better check for null regexps.
(readline): Check for regex matching null string.
(find_entries): Reorganisation.
2002-06-13 10:44:15 +00:00
Francesco Potortì
e7d3b099a2 (scan_separators): Support all character escape
sequences supported by gcc.
(find_entries): rewind unconditionally.
(find_entries): Do not call language functions directly, now calls
itself.
(find_entries): Do general initialisations here.
(CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
(Ada_getit, Pascal_functions, Pascal_functions)
(prolog_skip_comment): Do not do them here.
(readline_internal): Increment lineno here.
(readline): Conditionally undo readline_internal increment.
(readline): Do not return a value.
2002-06-06 22:37:28 +00:00
Francesco Potortì
f0da41a610 *** empty log message *** 2002-06-06 22:36:54 +00:00
Francesco Potortì
97b90b0a2d (enum arg_type): New label at_stdin.
(STDIN): New constant.
(parsing_stdin): New flag.
(longopts): New option --parse-stdin=NAME.
(print_help): Document it.
(main): Handle it.
(process_file): Split into process_file and process_file_name.
(process_file_name): New function.
2002-06-06 12:50:27 +00:00
Francesco Potortì
f6566f9015 (TeX_commands): Skip comments.
(TEX_defenv): Now contains more contructs.
(TEX_cmt): Make it a static char and move it before TeX_commands.
(TeX_commands): Shorten the tag to the brace after the name.
(TeX_commands): Names now include the initial backslash.
(TeX_commands): Names do not include numeric args #n.
(TeX_commands): Correct line char number in tags.
(TEX_tabent, TEX_token): Deleted.
(TeX_commands, TEX_decode_env): Streamlined.
2002-06-06 09:45:52 +00:00
Francesco Potortì
5526f1f688 *** empty log message *** 2002-06-06 09:45:25 +00:00
Francesco Potortì
50496bd978 (main): Avoid a buffer overrun with sprintf. 2002-06-05 12:10:26 +00:00
Richard M. Stallman
a71867c57a *** empty log message *** 2002-05-30 17:16:05 +00:00
Richard M. Stallman
c0e38e32b9 (LIBS_MAIL): Renamed from LIB_MAIL.
(LIBS_MOVE): Renamed from MOVE_LIBS.
2002-05-30 17:15:45 +00:00
Paul Eggert
b7e67db6db Reinstate the following change from 2002-03-22, which was
inadvertently lost on 2002-04-13.

* etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
`sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
the latter usage.
2002-05-27 06:51:19 +00:00
Paul Eggert
8108640c1e Reinstate the following change from 2002-03-22, which was
inadvertently lost on 2002-04-13.

(main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o
TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
2002-05-27 06:50:39 +00:00
Eli Zaretskii
5f226e2c33 *** empty log message *** 2002-05-25 10:50:02 +00:00
Eli Zaretskii
b72f3bcb37 (socket_connection): Move the code to resolve the POP
host right before trying to connect with it.
2002-05-17 11:24:02 +00:00
Eli Zaretskii
9975de28cd This file was deleted since the TCP emulation is no longer in use
on any platform.
2002-05-05 18:44:05 +00:00
Colin Walters
5167cfda36 *** empty log message *** 2002-04-29 23:16:38 +00:00
Colin Walters
d99fabf003 (SCORE_FILE_PREFIX): Delete.
(main): New argument -d, for specifying directory.
(usage): Document.
(get_user_id): Compute
(get_home_dir): Deleted.
(get_prefix): New function, taken from main.
(main): Check whether or not we are running setuid.  Move prefix
computation to get_prefix.  Don't call getpwent; we don't need to
any more.  Instead, move it to get_user_id().
2002-04-29 22:49:00 +00:00
Colin Walters
7451222f00 (${archlibdir}): Don't conditionalize on
HAVE_SHARED_GAME_DIR. Instead, test at installation time whether or
not we have access to the specified game user.
2002-04-29 22:48:22 +00:00
Pavel Janík
beedfcf163 (skip_initializer): Return void. 2002-04-24 18:27:59 +00:00
Colin Walters
973c3c870b *** empty log message *** 2002-04-23 20:34:27 +00:00
Colin Walters
1d4328ffce (read_score) [HAVE_GETDELIM]: Trim trailing space. 2002-04-23 20:23:05 +00:00
Francesco Potortì
8378bcd361 (last_node): Make it a global variable.
(process_file): Print the tags from the nodes as soon as
possible, and delete the nodes.  This brings down the memory
occupancy as etags to almost the same level as when the #line
directives were not parsed.
(free_fdesc): New function.
(find_entries): Use it.
(invalidate_nodes): In etags mode, do not just mark the nodes as
invalid, do delete them.
2002-04-22 14:12:08 +00:00
Gerd Moellmann
c901ceff74 (add_declarator): Test *CLS instead of CLS. 2002-04-21 12:49:36 +00:00
Eli Zaretskii
c42d6dbdbe Move config.h before the other headers, to prevent compiler warnings
due to redifinition of _FILE_OFFSET_BITS.
2002-04-16 20:05:08 +00:00
Eli Zaretskii
2400310de0 Add update-game-score. 2002-04-16 18:26:02 +00:00
Francesco Potortì
2431364f30 (find_entries): Bug fix in list management. 2002-04-16 00:02:55 +00:00
Francesco Potortì
090416ca29 *** empty log message *** 2002-04-16 00:02:38 +00:00