unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* etags stops parsing after const method
@ 2002-08-27 15:29 Ron Romero
  0 siblings, 0 replies; 3+ messages in thread
From: Ron Romero @ 2002-08-27 15:29 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

After etags (with the --members flag) reaches a const method in a C++ class,
it doesn't recognize any other members of that class (neither methods nor
member variables).  For example, with the following simple class:

class foo
{
    int non_const_func1(void);
 
    int a;
    int const_func() const;
    int b;
 
    int non_const_func2(void);
 
};

etags generates tags for non_const_func1, a, and const_func, but not for b
nor non_const_func2.  Moving const_func up or down in the class shows that
it stops after processing a const method.  Interestingly, without the
--members flag, const_func *is* included in the TAGS file --- even though it
should *not* be included in this case.
 
Thanks,
 
Ron Romero
rromero@newsstand.com <mailto:rromero@newsstand.com> 
 

[-- Attachment #2: Type: text/html, Size: 2388 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: etags stops parsing after const method
@ 2002-08-29  9:12 Francesco Potorti`
  0 siblings, 0 replies; 3+ messages in thread
From: Francesco Potorti` @ 2002-08-29  9:12 UTC (permalink / raw)
  Cc: 'bug-gnu-emacs@gnu.org'

   After etags (with the --members flag) reaches a const method in a C++
   class, it doesn't recognize any other members of that class (neither
   methods nor member variables).

Thank you for the report.  Unfortunately I have known this bug for about
one year, but found no way to correct it without rewriting most of etags
:-(

Anyway, since you have stumbled on it, I will tackle this problem again,
and see if I can find a way.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: etags stops parsing after const method
@ 2002-08-29 14:53 Francesco Potorti`
  0 siblings, 0 replies; 3+ messages in thread
From: Francesco Potorti` @ 2002-08-29 14:53 UTC (permalink / raw)
  Cc: 'bug-gnu-emacs@gnu.org'

Ron,

I think I solved it.  But I need testing.  Would you please try
 ftp://pot.potorti.it/pub/software/unix/etags.tar.gz
and let me know?  The tar file also includes a precompiled Linux
binary. 

Please reply to me, not to the list.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-29 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 14:53 etags stops parsing after const method Francesco Potorti`
  -- strict thread matches above, loose matches on Subject: below --
2002-08-29  9:12 Francesco Potorti`
2002-08-27 15:29 Ron Romero

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).