public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Xref for local variables not working ?
@ 2001-07-11 12:14 Mike_D_Davies
  0 siblings, 0 replies; only message in thread
From: Mike_D_Davies @ 2001-07-11 12:14 UTC (permalink / raw)
  To: sourcenav

Hi,

I am running SN 5 under Windows and I have tried to enable "Generate references
to local variables" in the project preferences/xref tab but I still cannot
generate an xref for a local variable.

I have generated a simple project based on the single c++ file below and I can
only see an xref for the variable x,  not the variable y.  I have tried saving
local variable parsing enabled as the default and re-running the project build
but that does not help.

Is this a bug or am I missing something ?

Thanks,

Mike


#include <iostream>

int action();

int x = 0;

int main()
{
     int retval = action();

     int y = 3;

     return 0;
}



int action()
{
     cout << "hello world  !";

     return 0;
}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-11 12:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-11 12:14 Xref for local variables not working ? Mike_D_Davies

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