From: Francesco Potortì Date: Wed, 1 Feb 1995 11:08:17 +0000 (+0000) Subject: * etags.c (pfnote): Initialise been_warned in the node. X-Git-Tag: emacs-19.34~5235 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b533b5be6ead8e4749fa75c85246082e919402d;p=emacs.git * etags.c (pfnote): Initialise been_warned in the node. (C_entries): Removed a speed hack for the sake of clarity. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index b50bbe48d63..fc0ce6522cc 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -31,8 +31,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ * 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 #include @@ -1157,6 +1157,7 @@ pfnote (name, is_func, named, linestart, linelen, lno, cno) 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 @@ C_entries (c_ext, inf) 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 @@ C_entries (c_ext, inf) midtoken = TRUE; } continue; - } + } /* if (begtoken) */ } /* if must look at token */