* etags.c (C_entries): Initialise the new members of TOKEN.
authorFrancesco Potortì <pot@gnu.org>
Tue, 14 Feb 1995 17:31:55 +0000 (17:31 +0000)
committerFrancesco Potortì <pot@gnu.org>
Tue, 14 Feb 1995 17:31:55 +0000 (17:31 +0000)
commit2bd88040e741c39ac773921869f3708f189f3a61
tree1231ed75bea8a76439991c32e5f251a6e690f35c
parent95c74a10a48a825370613a89b22eb0ef751edf12
* etags.c (C_entries): Initialise the new members of TOKEN.
(C_entries): Do not allocate a new space for each token found by
consider_token.  Let make_tag do that instead.
(make_tag): Since now TOKEN has memory of where it is taken from,
this new macro substitutes both make_tag_from_new_lb and
make_tag_from_oth_lb.  All callers changed.
(TOKEN): Add linepos and buffer members.
(main): Initialise token_str.
(lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
(token_str): New global variable used by C_entries.
lib-src/etags.c