Mercurial > emacs
changeset 10623:8a73e71a55e3
* etags.c (pfnote): Initialise been_warned in the node.
(C_entries): Removed a speed hack for the sake of clarity.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Wed, 01 Feb 1995 11:08:17 +0000 |
parents | 97213941b5e8 |
children | ec7ba4fd36f0 |
files | lib-src/etags.c |
diffstat | 1 files changed, 6 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Wed Feb 01 09:29:40 1995 +0000 +++ b/lib-src/etags.c Wed Feb 01 11:08:17 1995 +0000 @@ -31,8 +31,8 @@ * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer. */ -char pot_etags_version[] = "@(#) pot revision number is 11.16"; - + +char pot_etags_version[] = "@(#) pot revision number is 11.19"; #ifdef MSDOS #include <fcntl.h> #include <sys/param.h> @@ -1157,6 +1157,7 @@ np->name = name; np->named = named; } + np->been_warned = FALSE; np->file = curfile; np->is_func = is_func; np->lno = lno; @@ -2116,20 +2117,8 @@ structdef = snone; break; case dsharpseen: - /* Take a quick peek ahead for a define directive, - so we can avoid saving the token when not absolutely - necessary. [This is a speed hack.] */ - if (c == 'd' && strneq (lp, "efine", 5) - && iswhite (*(lp + 5))) - { - savetok = tok; - token_saved = TRUE; - definedef = ddefineseen; - lp += 6; - } - else - definedef = dignorerest; - continue; + savetok = tok; + token_saved = TRUE; } if (!yacc_rules || lp == newlb.buffer + 1) { @@ -2138,7 +2127,7 @@ midtoken = TRUE; } continue; - } + } /* if (begtoken) */ } /* if must look at token */