bug-gnu-emacs
[Top][All Lists]
Advanced

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

etags problem


From: David L
Subject: etags problem
Date: Sat, 02 Apr 2005 08:16:30 -0800

I'm not sure if etags is considered to be a component of emacs, but in case it is...

I posted this bug report to bugzilla.redhat.com:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151390

          Summary: etags fails to generate tags under some conditions
          Product: Fedora Core
          Version: fc3
         Platform: i386
       OS/Version: Linux
           Status: NEW
         Severity: normal
         Priority: normal
        Component: emacs
       AssignedTo: address@hidden
       ReportedBy: address@hidden


From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111
Firefox/1.0

Description of problem:
etags doesn't create a tag for main in the following program:

#define TCL_DONT_WAIT           (1<<1)

int Tcl_DoOneEvent(int a)
{
 return 0;
}

void MainLoop()
{
 while (Tcl_DoOneEvent(TCL_DONT_WAIT)!=0) {
 }
}


int main(int argc, char *argv[])
{

}


Version-Release number of selected component (if applicable):
emacs 21.3

How reproducible:
Always

Steps to Reproduce:
1. Paste the example code above into a file named foo.cc
2. execute "etags foo.cc"
3. execute "grep main TAGS" and see no tag for main


Actual Results:  No tag generated for main.

Expected Results:  A tag should be generated for main.

Additional info:

It also didn't work in redhat9.  It does work if the while (Tcl...) loop is
removed.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/





reply via email to

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