# HG changeset patch # User Francesco Potort # Date 791636897 0 # Node ID 8a73e71a55e30b044fe6aeadde52bd4537293164 # Parent 97213941b5e80e57124930867690a14013a3e508 * etags.c (pfnote): Initialise been_warned in the node. (C_entries): Removed a speed hack for the sake of clarity. diff -r 97213941b5e8 -r 8a73e71a55e3 lib-src/etags.c --- 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 #include @@ -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 */