emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etags does not recognize function definition in C file


From: Francesco Potorti`
Subject: Re: etags does not recognize function definition in C file
Date: Thu, 15 Nov 2007 13:16:54 +0100

Thank you, Masatake.  Your patch is the right thing.  I checked it by
code inspection and by running my test suite.  If you haven't already, I
will install it.

>2007-11-15  Masatake YAMATO  <address@hidden>
>
>       * etags.c (C_entries): Set fvnone to fvdef in
>       the case (!ignoreindent && lp == newlb.buffer + 1).
>
>--- etags.c    17  8月 2007 05:09:37 +0900    3.77
>+++ etags.c    15 11月 2007 17:20:33 +0900    
>@@ -4006,9 +4006,10 @@
>                 bracelev = 0;
>                 token.valid = FALSE; /* something gone amiss, token 
> unreliable */
>               }
>-            if (bracelev == 0 && fvdef == vignore)
>-              fvdef = fvnone;         /* end of function */
>           }
>+        if (bracelev == 0 && fvdef == vignore)
>+          fvdef = fvnone;             /* end of function */
>+
>         popclass_above (bracelev);
>         structdef = snone;
>         /* Only if typdef == tinbody is typdefbracelev significant. */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]