1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

179 Commits

Author SHA1 Message Date
Paul Eggert
31ce77fa0a Add -h, -n, -r options.
By default, look for *,v files as well as RCS/*,v files.
Use $TMPDIR (default /tmp) instead of /tmp.
1993-09-24 01:03:32 +00:00
Francesco Potortì
fe0b3356d9 Mon Sep 20 18:06:12 1993 Francesco Potorti` (pot at fly)
* etags.c (C_entries): is_func is initialised here instead of in
	consider_token for the sake of the yacc rules section.
	(C_entries): Now class, struct, enum, union and typedef produce
	named tags.
1993-09-20 16:08:50 +00:00
Roland McGrath
21af68b674 Include <src/paths.h>, instead "src/paths.h". 1993-09-12 01:35:44 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Roland McGrath
eab5f4fd96 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
timer.o, timer): Remove `-I${srcdir}/../src', since it is already in
CPP_FLAGS.
1993-09-10 05:40:51 +00:00
Roland McGrath
b2d7a9c720 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
-I${srcdir}/../src.
1993-09-10 04:47:05 +00:00
Francesco Potortì
31d4b31480 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
(L_funcs): the (foo::defmumble stuff now should work.
	(consider_token): function returned random value--corrected.
	(C_entries): corrected == versus = typo.
	* etags.c (FINCST): added the fignore status. Means we are
	after the parameter list and before the open curly brace.
	Allows correct parsing of C++ constructors.
	(C_entries, consider_token): make use of fignore.
	(consider_token): reset funcdef when next_token_is_func: when in
	ctags mode makes DEFVAR and others work better.
	(L_isquote): function that recognises the "(quote" string.
	(L_getit): ignore quoting via "'" or "(quote".  Useful for defalias.
1993-09-06 11:39:39 +00:00
Paul Eggert
85acbe0ab8 Change /{/ to /\{/ for Posix compatibility; otherwise, HP awk complains. 1993-08-25 19:33:07 +00:00
Paul Eggert
cbf35b9407 Append /usr/ccs/bin and /usr/sccs to PATH. 1993-08-25 08:18:56 +00:00
Richard M. Stallman
a069743544 (make-path): Dep on config.h. 1993-08-12 22:23:59 +00:00
Richard M. Stallman
cbc61077f3 (TRUE, FALSE): Don't define if already defined. 1993-08-11 20:55:04 +00:00
Paul Eggert
194bf419bb (awkscript): Some sites put comma-separated junk after the fullname.
Remove it, but leave "Bill Gates, Jr" alone.
Remove the junk from fullnames like "0000-Admin(0000)".
1993-08-09 22:06:00 +00:00
Roland McGrath
cc6d6e586d (put_entries): For NODE->rewritten, put pattern before \177 and name after,
not vice versa.
1993-08-01 22:13:54 +00:00
Richard M. Stallman
4d09905307 (main): Generate a SIGIO as soon as we've initialized. 1993-08-01 07:45:35 +00:00
Paul Eggert
3b31174ce5 Don't check whether file is readable until we have decided not to ignore it. 1993-07-29 19:56:38 +00:00
Richard M. Stallman
755f5c8707 (etags): Depend on ../src/config.h. 1993-07-21 03:29:43 +00:00
Richard M. Stallman
908d6b8719 Include types.h before file.h. 1993-07-20 05:16:51 +00:00
Richard M. Stallman
103d21491f (install): Use .n, not .new, for temporary filenames. 1993-07-19 19:11:09 +00:00
Jim Blandy
af40bbfa99 * wakeup.c: Use CPP tangle from autoconf manual to #include the
correct combination of <time.h> and <sys/time.h>.
1993-07-18 06:13:07 +00:00
Jim Blandy
52cc7c59b5 * etags.c (print_help): Break up the very long strings containing
the help message into shorter strings, to placate chintzy C
	compilers which can't handle strings that long.
1993-07-18 06:12:49 +00:00
Jim Blandy
72a339d7e3 * etags.c (alloca): removed all references to it.
(main): now calls xnew instead of alloca for portability.
	(../src/config.h): included only if HAVE_CONFIG_H.
	(const): void definition removed--config.h takes care of it.
1993-07-09 19:44:58 +00:00
Richard M. Stallman
591fa824dd (consider_token): was ==', now is ='.
(consider_token): DEFUNs now treated like funcs in ctags mode.

(LEVEL_OK_FOR_FUNCDEF): removed.
(C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
(C_entries): removed a piece of useless code.
(C_entries): making typedef tags is delayed until a semicolon
is met.  This handles "typedef int X, Y, Z;" correctly.
1993-07-09 18:56:47 +00:00
Jim Blandy
312752df3f * b2m.c: #include <sys/types.h>.
(ltoday): Declare this to be time_t.
1993-07-06 16:07:30 +00:00
Paul Eggert
1294647644 Add -q option. 1993-06-30 18:54:08 +00:00
Jim Blandy
918f9ad18d * etags.c: #include "config.h" and the alloca CPP tangle before
#including the system headers and getopt.h.  AIX requires the
	#pragma to come before any actual C code.
1993-06-29 22:58:40 +00:00
Jim Blandy
4348b379b1 * Makefile.in (ctags): Depend on etags, so that parallel makes
don't write etags.o files on top of each other.
1993-06-22 03:58:05 +00:00
Richard M. Stallman
8f53e1ee6e (add_node): Move var last_node to file scope. 1993-06-19 20:35:26 +00:00
Jim Blandy
0268f19b00 * Makefile.in: Remember, spaces are not tabs. 1993-06-17 02:59:21 +00:00
Jim Blandy
39b649dd44 Bring mumbleclean targets into conformance with GNU coding standards.
* Makefile.in (distclean): Call clean to do most of the work.
	Delete aixcc.c and TAGS.
	(realclean): Just call distclean.
1993-06-16 23:49:07 +00:00
Richard M. Stallman
5293b43278 (CPP_CFLAGS): New variable.
Use it instead of ALL_CFLAGS when compiling a .c file.
(getopt.o, getopt1.o): Add explicit compilation commands.
1993-06-13 18:14:04 +00:00
Richard M. Stallman
3ed7931961 Reinstate old -f option as an alias for -o for installed base uses. 1993-06-11 18:32:55 +00:00
Jim Blandy
4e23f2ba8b * emacsserver.c (main): When we're passing a `struct sockaddr_un'
to bind or accept, cast the pointer, to avoid warnings on systems
	which declare prototypes for this.
	* emacsclient.c (main): Same.
1993-06-09 12:45:26 +00:00
Jim Blandy
2fdfe0796e * emacsserver.c (main): When we're passing a `struct sockaddr_un'
to bind or accept, cast the pointer, to avoid warnings on systems
	which declare prototypes for this.
1993-06-09 12:41:31 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Jim Blandy
4b5a51c1fe * configure.in: Test for bison.
* Makefile.in (YACC): New variable.
	(lib-src/Makefile.in): Edit YACC into the makefile.

	* Makefile.in (YACC): New variable, to be set by top-level Makefile.
1993-06-09 04:06:57 +00:00
Jim Blandy
11e5be7d85 * wakeup.c: Include sys/types.h, too; I think that's where time_t
comes from, not sys/time.h.
1993-06-08 07:15:01 +00:00
Richard M. Stallman
8e9b75edd9 #undef static. 1993-06-08 06:20:56 +00:00
Richard M. Stallman
2198e8fe65 Include sys/time.h. 1993-06-03 03:28:21 +00:00
Richard M. Stallman
4eda59a90d (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps. 1993-06-02 06:52:09 +00:00
Richard M. Stallman
5ed8e09c1d #undef signal. 1993-06-01 08:08:38 +00:00
Richard M. Stallman
2c02935314 [LINUX]: #undef signal. 1993-06-01 08:08:11 +00:00
Richard M. Stallman
1da14ffda1 (main): Make when a time_t. 1993-05-31 01:39:40 +00:00
Jim Blandy
f7d3e7d055 * Makefile.in: (${archlibdir}): Use (cd foo && pwd) instead of
`(cd foo ; pwd)` to get the canonical name of a directory; cd
	might fail, and have pwd print out the current directory.
1993-05-30 19:40:39 +00:00
Jim Blandy
12a0565a22 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
string-handling functions.
1993-05-30 19:26:11 +00:00
Richard M. Stallman
148d61aa7f When given no file arguments, inspect RCS/.* as well
as RCS/*.  Don't report an error if RCS is empty or nonexistent.
1993-05-29 06:22:48 +00:00
Richard M. Stallman
a210860236 (timer): Link with $(LOADLIBES). 1993-05-29 05:00:58 +00:00
Richard M. Stallman
c1380f31bf (put_line): Don't output \n\t unless more text follows. 1993-05-28 21:22:17 +00:00
Jim Blandy
5c851ea7d3 * etags.c: Replace the CPP tangle for alloca with the one from the
autoconf documentation, since that's working elsewhere.
1993-05-28 08:28:20 +00:00
Jim Blandy
4fa84f6b74 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
description files can find their ancestors.
1993-05-28 03:33:15 +00:00
Richard M. Stallman
c93341d541 (ALL_CFLAGS): Add -I../src 1993-05-28 01:19:17 +00:00