From: Francesco Potorti` <pot@gnu.org>
To: Masatake YAMATO <jet@gyve.org>
Cc: emacs-pretest-bug@gnu.org, harsanyi@mac.com, emacs-devel@gnu.org
Subject: Re: etags does not recognize function definition in C file
Date: Thu, 15 Nov 2007 13:16:54 +0100 [thread overview]
Message-ID: <E1IsdeQ-0008Qs-8X@tucano.isti.cnr.it> (raw)
In-Reply-To: <20071115.172840.175242707.jet@gyve.org>
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 <jet@gyve.org>
>
> * 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. */
next prev parent reply other threads:[~2007-11-15 12:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 8:53 etags does not recognize function definition in C file Alexandru Harsanyi
2007-11-15 8:28 ` Masatake YAMATO
2007-11-15 12:16 ` Francesco Potorti` [this message]
2007-11-15 12:44 ` Masatake YAMATO
2007-11-16 8:06 ` Alexandru Harsanyi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1IsdeQ-0008Qs-8X@tucano.isti.cnr.it \
--to=pot@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=harsanyi@mac.com \
--cc=jet@gyve.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).