annotate etc/ETAGS.ChangeLog @ 5804:75435be92103

Avoid make_uninit_string() for the command builder's echo_buf. src/ChangeLog addition: 2014-08-03 Aidan Kehoe <kehoea@parhasard.net> * event-stream.c (allocate_command_builder): * event-stream.c (Fnext_event): Use #'make-string rather than make_uninit_string() when allocating the command builder's echo_buf, avoiding having octets in the string that do not correspond to valid internal-format text.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 03 Aug 2014 20:13:40 +0100
parents 6cd3955b7e4d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3972
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
1 2007-05-18 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
2
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
3 * etags.c: Extern definitions of some more pointer functions for
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
4 standalone compilation, especially important for 64bit platforms.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
5 (main, print_help): --members is now the default for etags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
6 (C_entries): Parse start of C comment as a space == end of token.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
7 This is not necessary for C++ comment, already parsed as newline.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
8
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
9 2007-02-05 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
10
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
11 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
12 (main): Now --members is the default for etags, not for ctags yet.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
13
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
14 2007-01-02 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
15
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
16 * etags.c (longopts): New undocumented option --no-duplicates.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
17 (no_duplicates): Static variables for the above option.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
18 (print_help): Do not print help for --no-warn, now undocumented.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
19 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
20 (main): Pass the -u option to sort in ctags mode.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
21
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
22 2006-12-28 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
23
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
24 * etags.c (readline): When creating a relative file name from a
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
25 #line directive, leave the file name alone. The previous
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
26 behaviour was to make it relative to the tags file directory,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
27 under the hypothesis that the #line directive file name was
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
28 relative to the directory of the tagged file. That hypothesis is
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
29 wrong with Cpp and Lex.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
30
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
31 2006-12-20 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
32
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
33 * etags.c (C_entries): DEFUN names were longer by one: corrected.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
34 (Makefile_targets): Do not include spaces in tag names.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
35
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
36 2006-08-12 Kevin Ryde <user42@zip.com.au>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
37
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
38 * etags.c (readline): Check for double quote after #line.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
39
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
40 2006-08-12 Jan Djärv <jan.h.d@swipnet.se>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
41
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
42 * etags.c (readline): sscanf could in principle return 2.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
43
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
44 2006-08-12 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
45
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
46 * etags.c (readline): lno is unsigned.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
47 (TeX_commands): Use p++ (rather than *p++) to increment p.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
48 (Lua_functions): Explicitely discard LOOKING_AT's return value.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
49
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
50 2006-08-07 Masatake YAMATO <jet@gyve.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
51
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
52 * etags.c (TEX_mode): Check getc retruns EOF.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
53 File ended without newline causes infinite loop.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
54
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
55 2002-07-14 Adrian Aichner <adrian@xemacs.org> (tiny change)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
56
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
57 * etags.c: It's XEmacs, not Xemacs: change all the occurences.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
58
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
59 2006-07-10 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
60
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
61 * etags.c [ETAGS_REGEXPS]: #ifdef's deleted, define unconditionally.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
62 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, now normally undefined.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
63 (Objc_suffixes): Suggest using --lang=c for full help.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
64 (C_entries): Initialise savetoken to 0 to shut up the compiler.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
65
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
66 2006-07-10 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
67
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
68 * etags.c (absolute_filename): Free unused space (cosmetic change).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
69 (in_word_set): In C, also tag #undef symbols.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
70
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
71 2006-05-02 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
72
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
73 * etags.c (Perl_functions): Free space allocated for var package.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
74 (Erlang_functions): Possibly free space allocated for var last.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
75 (Prolog_functions): Possibly free space allocated for var last.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
76
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
77 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
78
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
79 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
80 which was never opened.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
81
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
82 2005-09-27 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
83
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
84 * etags.c: Preliminary Forth support.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
85 (prolog_pr): Cast strlen to int before comparison.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
86 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
87 the second argument is indeed a literal string.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
88 (main): In append mode, sort the tags file after writing it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
89
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
90 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
91
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
92 * etags.c (longopts, print_help, main): The -a (--append) option
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
93 can be used in ctags also; for one, the Linux make file uses it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
94
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
95 2004-09-13 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
96
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
97 * etags.c (main): When relative file names are given as argument,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
98 make them relative to the current working dir, rather than
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
99 relative to the output tags file, if the latter is in /dev.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
100
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
101 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
102
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
103 * etags.c: (Lua_suffixes, Lua_help, lang_names, Lua_functions):
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
104 Support the Lua scripting language <http://www.lua.org>.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
105
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
106 2004-09-13 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
107
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
108 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
109 <stdlib.h> is available.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
110 (enum sym_type): New st_C_attribute value for parsing
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
111 gcc's __attribute__. Deleted st_C_typespec value.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
112 (gperf, in_word_set): Use gperf 3, options changed. Added the
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
113 __attribute__ keyword, removed all the st_C_typespec keywords,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
114 changed attribute for Java to (C_JAVA & !C_PLPL).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
115 (inattribute): New global bool, part of the C state machine.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
116 (cblev): Identifier renamed to bracelev throughout.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
117 (consider_token, C_entries): Numerous changes for making the
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
118 parser more robust and adding support for __attribute__.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
119
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
120 2004-09-08 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
121
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
122 * etags.c: Add arch taglines
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
123 [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE for ease of use.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
124 [GOOD, BAD]: renamed to EXIT_SUCCESS, EXIT_FAILURE.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
125 (suggest_asking_for_help): Fix having macros in a printf statement.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
126 (consider_token): check C++ `operator' only when the token len is
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
127 long enough.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
128
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
129 2003-01-09 Francesco Potortì <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
130
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
131 * etags.c: changes for language-sepcific help by Philippe
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
132 Waroquiers <wao@cfmu.eurocontrol.be> applied and largely revised.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
133 (language): Added a `help' member.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
134 (arg_type): Added an at_end constant.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
135 (plain_C_suffixes): Some items removed from here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
136 (Objc_suffixes): And put here (new constant).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
137 (Ada_help, Asm_help, default_C_help, Cplusplus_help, Cjava_help,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
138 Cobol_help, Erlang_help, Fortran_help, HTML_help, Lisp_help,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
139 Makefile_help, Objc_help, Pascal_help, Perl_help, PHP_help,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
140 PS_help, Prolog_help, Python_help, Scheme_help, TeX_help,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
141 Texinfo_help, Yacc_help, auto_help, none-help, no_lang_help): New
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
142 constants.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
143 (PS_functions, PS_suffixes): Renamed from Postscript_functions and
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
144 Postscript_suffixes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
145 (lang_names): Adapted to the new language structure, new language
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
146 "objc" added (was previously merged with "proc").
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
147 (print_language_names): Some help strings corrected.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
148 (print_help): Now takes an argument and possibly prints lang help.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
149 (print_help): Some help strings corrected. Documents
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
150 language-specific help.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
151 (main): Only print help after having parsed all the arguments.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
152
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
153 2002-09-03 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
154
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
155 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
156 string that cannot be freed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
157
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
158 2002-08-30 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
159
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
160 * etags.c (consider_token, C_entries): Switch to C++ parsing when
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
161 auto-detection is enabled and the `::' qualifier is met.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
162 (consider_token, C_entries): Several bugs corrected that tagged
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
163 some declarations even though --declarations was not used.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
164 (plainc): New macro.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
165 (C_entries): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
166 (C_entries): Several cosmetic changes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
167 (C_entries): Invalidate the token is some cases.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
168
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
169 2002-08-29 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
170
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
171 * etags.c (C_entries): Corrected a problem with const C++ funcs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
172 (ignoreindent): Renamed from noindentypedefs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
173 (cjava, cplpl): They are now macros instead of local vars.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
174
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
175 2002-08-28 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
176
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
177 * etags.c (HTML_labels): Tag ID= also.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
178
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
179 2002-08-27 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
180
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
181 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
182
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
183 2002-06-25 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
184
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
185 * etags.c: New language HTML.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
186 (make_tag): Never generate null length tag names.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
187 (linebuffer_init): Renamed from initbuffer. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
188 (pattern): Structure renamed to `regexp', member regex renamed to
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
189 pattern.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
190 (node_st): Member pat renamed to regex.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
191 (pattern); New member force_explicit_name, for future use. Now
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
192 always set to true, cannot be reset.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
193 (add_regex, regex_tag_multiline, readline): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
194 (main): Free some global structures.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
195
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
196 2002-06-21 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
197
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
198 * etags.c (fdesc): New member `written'.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
199 (readline, process_file): Initialise it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
200 (put_entries): Set it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
201 (main): Use it to create entries for files without tags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
202 (total_size_of_entries): Do not count invalid tags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
203 (etags_strcasecmp): Like BSD's, for compatibility.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
204 (strcaseeq): Make it into a macro.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
205
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
206 2002-06-21 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
207
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
208 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
209 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
210 (PHP_functions, PHP_functions, Cobol_paragraphs)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
211 (Makefile_targets, Postscript_functions, Texinfo_nodes)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
212 (prolog_pr, erlang_func, erlang_attribute)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
213 (Perl_functions, Perl_functions, Pascal_functions)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
214 (TeX_commands, get_tag): Use make_tag instead of pfnote.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
215 (get_tag): Prototype changed, all callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
216
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
217 2002-06-20 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
218
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
219 * etags.c: Use, together with etags.el, an optimised form of tags,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
220 which are almost always unnamed. etags.el looks for an explicit
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
221 tag name, then for an implicit one. See make_tag for details.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
222 The change is both forwards and backwards compatible.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
223 (make_tag): New function (was the disabled function new_pfnote).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
224 (make_C_tag): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
225
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
226 2002-06-19 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
227
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
228 * etags.c (add_regex): Invalid regexp modifiers are ignored.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
229 (Makefile_targets): Tag variables unless --no-globals.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
230 (LOOP_ON_INPUT_LINES): Serious bug corrected.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
231
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
232 2002-06-13 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
233
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
234 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
235 (invalidate_nodes): Bug corrected.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
236 (print_help): Better help for regexps.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
237
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
238 2002-06-12 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
239
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
240 * etags.c (arg_type): at_icregexp label removed (obsolete).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
241 (pattern): New member multi_line for multi-line regexps.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
242 (filebuf): A global buffer containing the whole file as a string
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
243 for multi-line regexp matching.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
244 (need_filebuf): Global flag raised if multi-line regexps used.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
245 (print_help): Document new regexp modifiers, remove references to
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
246 obsolete option --ignore-case-regexp.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
247 (main): Do not set regexp syntax and translation table here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
248 (main): Treat -c option as a backward compatibility hack.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
249 (main, find_entries): Init and free filebuf.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
250 (find_entries): Call regex_tag_multiline after the regular parser.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
251 (scan_separators): Check for untermintaed regexp and return NULL.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
252 (analyse_regex, add_regex): Remove the ignore_case argument, which
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
253 is now a modifier to the regexp. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
254 (add_regex): Manage the regexp modifiers.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
255 (regex_tag_multiline): New function. Reads from filebuf.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
256 (readline_internal): If necessary, copy the whole file into filebuf.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
257 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
258
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
259 2002-06-11 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
260
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
261 * etags.c (add_regex): Better check for null regexps.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
262 (readline): Check for regex matching null string.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
263
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
264 2002-06-07 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
265
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
266 * etags.c (find_entries): Reorganisation.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
267
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
268 2002-06-07 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
269
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
270 * etags.c (scan_separators): Support all character escape
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
271 sequences supported by gcc.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
272 (find_entries): rewind unconditionally.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
273 (find_entries): Do not call language functions directly, now calls
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
274 itself.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
275 (find_entries): Do general initialisations here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
276 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
277 (Ada_getit, Pascal_functions, Pascal_functions)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
278 (prolog_skip_comment): Do not do them here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
279 (readline_internal): Increment lineno here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
280 (readline): Conditionally undo readline_internal increment.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
281 (readline): Do not return a value.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
282
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
283 2002-06-06 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
284
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
285 * etags.c (enum arg_type): New label at_stdin.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
286 (STDIN): New constant.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
287 (parsing_stdin): New flag.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
288 (longopts): New option --parse-stdin=NAME.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
289 (print_help): Document it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
290 (main): Handle it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
291 (process_file): Split into process_file and process_file_name.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
292 (process_file_name): New function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
293
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
294 2002-06-06 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
295
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
296 * etags.c (main): Avoid a buffer overrun with sprintf.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
297 (TEX_cmt): Make it a static char and move it before TeX_commands.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
298 (TeX_commands): Skip comments.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
299 (TEX_defenv): Now contains more contructs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
300 (TeX_commands): Shorten the tag to the brace after the name.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
301 (TeX_commands): Allow for names with embedded spaces.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
302 (TeX_commands): Names now include the initial backslash.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
303 (TeX_commands): Names do not include numeric args #n.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
304 (TeX_commands): Correct line char number in tags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
305 (TEX_tabent, TEX_token): Deleted.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
306 (TeX_commands, TEX_decode_env): Streamlined.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
307
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
308 2002-05-31 Paul Eggert <eggert@twinsun.com>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
309
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
310 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
311 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
312 the latter usage.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
313
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
314 2002-04-22 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
315
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
316 * etags.c: (last_node): Make it a global variable.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
317 (process_file): Print the tags from the nodes as soon as
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
318 possible, and delete the nodes. This brings down the memory
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
319 occupancy as etags to almost the same level as when the #line
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
320 directives were not parsed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
321 (free_fdesc): New function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
322 (find_entries): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
323 (invalidate_nodes): In etags mode, do not just mark the nodes as
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
324 invalid, do delete them.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
325
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
326 2002-04-16 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
327
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
328 * etags.c (find_entries): Bug fix in list management.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
329
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
330 2002-04-15 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
331
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
332 * etags.c (get_language_from_filename): Add one argument.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
333 (strcaseeq): New function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
334 (get_language_from_filename): Use it to do a case insenstitive
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
335 comparison if called with appropriate args.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
336 (find_entries): Try with case insensitive match.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
337 (process_file): Bug fixed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
338
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
339 2002-04-13 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
340
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
341 * etags.c (find_entries): Delete tags previously obtained from
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
342 file xxx.c's #line directives when parsing file xxx.y. This is
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
343 generally done for automatically generated files containing
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
344 #line directives. This handles the case when xxx.y is tagged
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
345 before xxx.c, and the entries of xxx.c pointing to xxx.y should
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
346 be discarded.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
347 (language): Added the metasource member. Initializers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
348 (invalidate_nodes): New function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
349
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
350 2002-03-21 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
351
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
352 * etags.c (readline): Discard lines after having found a #line
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
353 directive pointing to an already tagged file. This handles the
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
354 case when xxx.y is tagged before xxx.c, and the entries of
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
355 xxx.c pointing to xxx.y should be discarded.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
356
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
357 2002-03-15 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
358
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
359 * etags.c (fdesc): New structure for keeping track of input files.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
360 (fdesc): Remove `file' member (a string) and use instead a pointer
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
361 to a file description structure.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
362 (curfile, curfiledir, curtagfname, curlang, nocharno,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
363 forced_lang): Global variables removed in favor of fdhead and
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
364 curfdp, pointers to file description strucures.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
365 (longopts, main, print_help): Use the CTAGS conditional to include
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
366 or exclude options that work on etags or ctags only.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
367 (process_file, find_entries, pfnote, add_node, put_entries,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
368 readline): Use fdhead and curfdp.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
369 (process_file, find_entries): Do not take an arg string, all
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
370 callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
371
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
372 2002-03-13 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
373
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
374 * etags.c (longopts, print_help, main): Test CTAGS to disallow
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
375 options that are not right for either etags or ctags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
376
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
377 2002-03-12 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
378
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
379 * etags.c (number_len, total_size_of_entries): Define them also
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
380 in CTAGS mode, because gcc does not compile all refs away.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
381 (Python_functions, PHP_functions): Name tags, for ctags' sake.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
382 (TeX_commands): Name tags. Correction of old disabled code.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
383
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
384 2002-03-06 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
385
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
386 * etags.c (Python_functions): Consider indented "def" and "class".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
387
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
388 2002-03-05 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
389
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
390 * etags.c (curfiledir, curtagfname): New global variables.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
391 (process_file): Initialise them.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
392 (readline): Canonicalize the name found in #line directive.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
393
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
394 2002-03-05 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
395
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
396 * etags.c: Honour #line directives.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
397 (no_line_directive): New global var; set it for old behaviour.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
398 (main): Remove some #ifdef in the getopt switch.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
399 (add_node, put_entries): Code added to merge different chunks of
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
400 nodes referring to the same file. Currently the tags are just
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
401 appended, without any check for duplicates.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
402 (Perl_functions): Do not special case ctags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
403 (readline): Identify #line directives and do the right thing.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
404 (nocharno, invalidcharno): New global vars.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
405 (process_file): Reset nocharno.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
406 (readline): Set nocharno.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
407 (pfnote): Read nocharno and maybe put invalidcharno in node.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
408 (total_size_of_entries, put_entries): Use invalidcharno.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
409
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
410 2002-03-04 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
411
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
412 * etags.c: Keep the whole tag table in memory, even in etags mode.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
413 (main): Call put_entries here even in CTAGS mode.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
414 (main, process_file): Check the return values of fclose and pclose.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
415 (process_file): Do not call put_entries after parsing each file.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
416 (process_file): Canonicalise file names even for ctags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
417 (process_file): Set curfile here...
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
418 (find_entries): ... not here any more.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
419 (add_node): In etags mode, build a linked list of entries (on
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
420 right pointer) for each file, and link the first entry of each
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
421 file on left nodes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
422 (put_entries): Print here the name of the file.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
423 (put_entries): Print the entries starting from the first file.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
424 (number_len, total_size_of_entries): Define these only iin etags
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
425 mode, make the second work only on the right nodes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
426
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
427 2002-01-03 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
428
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
429 * etags.c: Make all global variables static.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
430
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
431 2001-12-21 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
432
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
433 * etags.c (Perl_functions): Tag packages and use them in sub tags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
434 (get_tag): Return a pointer to the tag that is found.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
435
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
436 2001-12-21 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
437
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
438 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
439 (F_takeprec): Renamed from takeprec. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
440 (F_getit): Renamed from getit. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
441 (nocase_tail): Renamed from tail. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
442 (Ada_getit): Renamed from adagetit. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
443 (L_getit): Simplified by using get_tag.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
444 (Perl_functions, Postscript_functions, erlang_attribute): Use the
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
445 modified LOOKING_AT.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
446 (notinname): Removed '[' and added ')' to the recognised chars.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
447 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
448 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
449 Clarified, using strneq or notinname.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
450 (L_isdef, L_isquote): Removed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
451 (Lisp_functions, L_getit): Clarified.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
452
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
453 2001-12-17 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
454
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
455 * etags.c: [P_]: Renamed to __P for consistency with config.h.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
456 [HAVE_CONFIG_H]: Let config.h deal with __P.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
457 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
458 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
459 gperf code needs it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
460 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
461 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
462 (xmalloc, xrealloc): Use PTR instead of long *.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
463 (bool): Make it a define, not a typedef, for C++ compilers.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
464 (pattern): Members renamed to avoid name clash in some C++ compilers.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
465 (get_language_from_langname): Use const argument.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
466
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
467 2001-12-12 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
468
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
469 * etags.c (PHP_functions): New function by Diez B. Roggisch,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
470 heavily adapted by me, for parsing PHP.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
471 (LOOKING_AT): New macro.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
472 (Perl_functions, Python_functions, PHP_functions)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
473 (Scheme_functions, Texinfo_nodes): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
474 (Perl_functions): Use strneq.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
475 (prolog_pred): Renamed to prolog_pr.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
476 (prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman)
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
477 in addition to predicates.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
478 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
479 unmodified compile, as Cygwin's regex.h is incompatible with us
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
480 (thanks to Markus Hoenicka).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
481 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
482
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
483 2001-05-11 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
484
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
485 * etags.c (add_regex): Reset the whole newly allocated pattern
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
486 buffer instead of the individual members. It's safer and works
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
487 with Xemacs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
488
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
489 2001-02-23 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
490
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
491 * etags.c (enum sym_type): New label st_C_template.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
492 (gperf input): Use it for switching to C++ from C.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
493 (consider_token): Do it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
494
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
495 2001-02-16 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
496
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
497 * etags.c (C_entries): Initialise typdefcblev to quiet compilers.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
498
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
499 2001-02-06 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
500
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
501 * etags.c [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
502
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
503 2001-01-31 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
504
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
505 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
506 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
507 (C_entries): Tag token renamed to still_in_token because sunos4
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
508 pcc wants to expand it as the token() macro even though it has no
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
509 arguments.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
510
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
511 2001-01-30 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
512
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
513 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
514 #define it for the sake of Xemacs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
515 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
516 HAVE_CONFIG_H. This change only affects a standalone etags.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
517 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
518 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
519 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
520 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
521 WINDOWSNT, as this is the correct way to use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
522
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
523 2001-01-28 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
524
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
525 * etags.c: Be capable to parse nested struct-like structures.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
526 (structdef, structtag): Struct state machine revisited.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
527 (struct tok): Revisited.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
528 (cstack, nestlev, instruct): New struct and macros.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
529 (pushclass_above, popclass_above, write_classname): New functions
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
530 for dealing with nested class names, inspired by Mykola Dzyuba.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
531 (consider_token, make_C_tag, C_entries): Many changes for dealing
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
532 with arbitrarily nested structures.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
533 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
534 (C_entries): Consider templates in C++.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
535 (sym_type): New constant st_C_class for detecting "class" also in
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
536 C mode.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
537 (C_AUTO): New macro for automatic detection of C++.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
538 (consider_token): Automatic set C++ mode.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
539 (C_entries): New security check for yacc.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
540 (print_language_names, print_help): Mention the autodetect
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
541 feature, do not show help for the -C option, now mostly useless.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
542 (C_entries): Tag C++ forward declarations if --declarations.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
543 (C_entries): Don't be fooled by things like XDEFUN.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
544 (consider_token): Discard asm pseudo function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
545
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
546 2001-01-25 Francesco Potorti` <pot@potorti.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
547
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
548 * etags.c (struct tok): Renamed from struct token.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
549 (token): Renamed from tok.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
550 (structtype): Make it a local variable.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
551 [DEBUG]: Use assert.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
552 (xrnew): Change the synopsis.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
553 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
554 (grow_linebuffer): Don't call xrnew when not needed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
555 (token): buffer renamed to line.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
556 (C_entries): Three calls to inibuffer moved here from main.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
557 (C_entries): Removed all references to var methodlen, delete it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
558 (linebuffer_setlen): Was grow_buffer, now also sets len.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
559 (consider_token, C_entries, Pascal_functions): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
560 (C_entries): Preventing problems relative to extern "C".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
561 (C_entries): Can tag more than one variable or func separated by
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
562 comma when --declarations is used.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
563 (C_entries): More accurate tagging of members and declarations.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
564 (yacc_rules): Was global, made local to C_entries.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
565 (next_token_is_func): Removed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
566 (fvdef): New constants fdefunkey, fdefunname.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
567 (consider_token, C_entries): Use them.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
568 (C_entries): Build proper lisp names for Emacs DEFUNs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
569
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
570 2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
571
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
572 * etags.c (print_language_names): Print filenames in addition to
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
573 suffixes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
574
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
575 2001-01-12 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
576
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
577 * etags.c (get_language_from_langname): Renamed from
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
578 get_language_from_name.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
579 (get_language_from_filename): Renamed from
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
580 get_language_from_suffix. Now first looks for the complete file
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
581 name.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
582 (language): New member char **filenames.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
583 (Makefile_filenames): List of possible filenames for makefiles.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
584 (lang_names): Added a NULL member for every entry, added an entry
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
585 for makefiles.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
586 (Makefile_targets): New function, inspired by Assar Westerlund
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
587 <assar@sics.se>.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
588
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
589 2000-11-07 Francesco Potortì <pot@pot.cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
590
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
591 * etags.c (Texinfo_nodes): Renamed from Texinfo_fuctions and made
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
592 it conformant to the style of the rest of the code.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
593
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
594 2000-02-10 Francesco Potorti` <pot@gnu.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
595
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
596 * etags.c (iswhite): Redefined not to consider '\0' as white
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
597 space, and use it throughout in place of isspace, thus preventing a
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
598 potential signed char to int conversion problem.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
599 (MSDOS): #undefine befere redefining
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
600
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
601 2000-02-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
602
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
603 * etags.c (many functions): Add prototypes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
604
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
605 2000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
606
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
607 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
608 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
609 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
610 (getenv, getcwd): Only declare them if necessary.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
611 (EMACS_NAME): New constant macro.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
612 (print_version): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
613 (P_) [__STDC__]: Macro for defining function prototypes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
614
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
615 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
616
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
617 * etags.c [WINDOWSNT]: #include <direct.h>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
618
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
619 2000-01-18 Martin Buchholz <martin@xemacs.org>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
620
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
621 * etags.c (all functions): Made them static.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
622 (all functions): Write prototypes.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
623
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
624 1999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
625
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
626 * etags.c (_GNU_SOURCE): Define only if undefined.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
627 (get_scheme): Declaration deleted.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
628 (main): error was called with an integer as second arg, instead of
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
629 a char pointer.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
630 (canonicalize_filename): Bug removed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
631
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
632 1999-11-18 Dave Love <d.love@dl.ac.uk>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
633
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
634 * etags.c (C_entries): Rename label `intoken', avoiding K&R
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
635 lossage from name clash with macro.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
636
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
637 1999-09-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
638
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
639 * etags.c: Add suffix psw for PSWrap.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
640 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
641 (Postscript_functions): Add code for PSWrap.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
642 (Scheme_functions): Use local pointer and new get_tag function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
643 (get_tag): New name for old get_scheme.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
644 (process_file): Do not free NULL when file does not exist.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
645 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
646 (C_entries): Modifications that make --members tag even inside
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
647 typedefs and C nested structs (one level only).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
648 (consider_token): Corrected a bug which prevented tagging of enum
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
649 constants.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
650 (C_stab_entry): Added if, for, while, switch, return as
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
651 st_C_ignore. This makes it simpler to work when cblev!=0.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
652
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
653 1999-04-21 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
654
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
655 * etags.c (C_entries): tag member function declarations when
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
656 --declarations is used.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
657
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
658 1999-04-20 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
659
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
660 * etags.c (C_entries, consider_token): C++ `operator' now is
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
661 tagged in most cases.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
662 As before, :: is not recognised if surrounded by spaces.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
663
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
664 1999-01-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
665
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
666 * etags.c (relative_filename): Account for DOS file names such
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
667 that is impossible to make one relative to another.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
668
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
669 1998-10-09 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
670
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
671 * etags.c (sym_type): New st_C_extern tag.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
672 (gperf input): Use it for spotting external declarations.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
673 (print_help): Document the new behaviour of --declarations.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
674 (fvextern): New global variable.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
675 (consider_token, C_entries): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
676
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
677 1998-06-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
678
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
679 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
680 (etags_getcwd): Remove test for WINDOWSNT.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
681
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
682 1998-06-16 Eli Zaretskii <eliz@is.elta.co.il>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
683
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
684 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
685 foo.cgz, foo.cz, etc.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
686
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
687 1998-06-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
688
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
689 * etags.c (declarations): New global switch.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
690 (longopts): Describe it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
691 (print_help): Document it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
692 (C_entries): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
693 (process_file): Don't process a file twice.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
694
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
695 1998-06-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
696
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
697 * etags.c (Fortran_functions): No tags for "procedure".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
698
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
699 1998-05-29 Eli Zaretskii <eliz@is.elta.co.il>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
700
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
701 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
702 non-zero, returns a pointer to where the extension begins; callers
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
703 changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
704 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
705 were foo.c.gz.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
706
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
707 1998-05-18 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
708
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
709 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
710 (fvdev): New constant foperator.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
711 (consider_token): Use it to get "operator" in C++.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
712 (C_entries): Extend length of operator@ function name.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
713 (C_entries): Use foperator when necessary.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
714
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
715 1998-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
716
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
717 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
718
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
719 1998-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
720
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
721 * etags.c (compressor): New struct for compressed files.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
722 (get_compressor_from_suffix): New function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
723 (get_language_from_suffix): Use it. Also, semantics changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
724 (process_file): Consider compressed files, close file.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
725 (find_entries): Use different call arg for get_language_from_suffix,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
726 don't close file.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
727
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
728 1998-05-11 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
729
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
730 * etags.c (main): Call free_tree.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
731 (find_entries): Do not free curfile.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
732 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
733 (prolog_pred, erlang_func, substitute): Cast strlen to int when
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
734 comparing.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
735 (canonicalize_filename): Shut up compiler warning.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
736 (Perl_functions): Make tag significant.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
737
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
738 1997-11-27 Dave Love <d.love@dl.ac.uk>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
739
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
740 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
741 (argument_type): New member at_icregexp.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
742 (lc_trans): New global.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
743 (main): Fill lc_trans. Process -c args.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
744 (add_regex): New arg determining whether to use translation table.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
745 (analyse_regex): New arg. Use it for add_regex.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
746
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
747 1997-09-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
748
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
749 * etags.c (init): Cosmetic change: NULL --> '\0'.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
750 (erlang_attribute): Bug corrected (uninitialized variable).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
751 (filename_is_absolute): New function replaces absolutefn macro and
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
752 corrects a bug. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
753 (canonicalize_filename): New function.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
754 (process_file, etags_getcwd, absolute_dirname): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
755 (relative_filename, absolute_filename): Removed var shadowing.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
756 (C_entries, Pascal_functions): Add fake initializations to keep
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
757 compilers quiet.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
758 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
759
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
760 1997-09-20 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
761
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
762 * etags.c (xrnew): New macro. All callers of xrealloc changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
763 (language): New typedef (was struct lang_entry).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
764 (curlang): New global variable.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
765 (node): typedef renamed from NODE.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
766 (linebuffer): New typedef (was struct linebuffer).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
767 (pattern): New typedef (was struct pattern). Some members added.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
768 Now used as element of a linked list.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
769 (patterns, num_patterns): Global variables deleted.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
770 (p_head): New global variable.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
771 (forced_lang): New global variable (replaces lang_func).
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
772 (get_language_from_name, get_language_from_interpreter,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
773 get_language_from_suffix): Semantics changed. All callers changed.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
774 (last_node): New global variable.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
775 (free_tree, add_node, put_entries, total_size_of_entries): Change
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
776 name of local vars to avoid clashes with typedef node.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
777 (number_len): Rewritten for elegance.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
778 (token): New typedef replaces TOKEN.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
779 (analyse_regex, add_regex): Rewritten for new functionality.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
780 (free_patterns): New function called from main and add_regex.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
781 (initbuffer, readline_internal, readline, grow_linebuffer):
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
782 Change name of local vars to avoid clashes with typedef
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
783 linebuffer.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
784 (readline): Rewritten for new functionality.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
785
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
786 1997-09-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
787
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
788 * etags.c: (Scheme_suffixes): New suffix ".ss".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
789 (print_help): --globals is now used for more than C-type languages.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
790 (Perl_functions): Tag global variables ("my" and "local").
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
791
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
792 1997-08-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
793
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
794 * etags.c (print_help): Some messages clarified.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
795 (LOOP_ON_INPUT_LINES): New macro.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
796 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
797 Python_functions, Cobol_paragraphs, Pascal_functions,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
798 Lisp_functions, Postscript_functions, Scheme_functions,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
799 TeX_functions, Prolog_functions, Erlang_functions): Use it.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
800 (Cobol_paragraphs, Postscript_functions, TeX_functions,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
801 Prolog_functions, Erlang_functions): Use a local variable instead
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
802 of the global variable dbp.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
803 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
804 standard indentation.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
805
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
806 1997-08-21 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
807
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
808 * etags.c (Python_suffixes, lang_names, Python_functions): Python
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
809 support.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
810 (skip_spaces, skip_non_spaces): Utility functions.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
811 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
812 Python_functions, L_getit, Lisp_functions, Scheme_functions,
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
813 prolog_pred, erlanf_func, erlang_attribute): Use them.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
814 (eat_white): Deleted.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
815
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
816 1997-08-20 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
817
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
818 * etags.c (CHAR, init): Keep into account non US-ASCII
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
819 characters and compilers with default signed chars.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
820 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
821 constructs.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
822
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
823 1997-07-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
824
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
825 * (C_stab_entry): "interface" in Java behaves like "class".
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
826
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
827 1997-06-23 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
828
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
829 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
830 (main): Put interval syntax here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
831 (add_regex): And remove it from here.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
832
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
833 1997-06-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
834
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
835 * etags.c (suggest_asking_for_help): Provide a
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
836 meaningful help message with and without LONG_OPTIONS.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
837
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
838 1997-06-09 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
839
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
840 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
841 <stdlib.h, string.h>: Don't test MSDOS when including them.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
842 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
843 (put_entries): Correctly use %ld instead of %d in printf.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
844
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
845 1997-06-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
846
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
847 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
848 declare getcwd if HAVE_GETCWD.
6cd3955b7e4d [xemacs-hg @ 2007-05-21 03:50:13 by stephent]
stephent
parents:
diff changeset
849 (consider_token): Dead break instruction removed.