From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: Mike_D_Davies@fmo.com Cc: sourcenav@sourceware.cygnus.com Subject: Re: Adding a Parser: SN_LOCAL_VAR_DEF ? Date: Fri, 10 Aug 2001 10:21:00 -0000 Message-id: <3B741AB3.932EE7E3@redhat.com> References: <85256AA4.002F0DB1.00@sfldmint11.na.fmo.com> X-SW-Source: 2001-q3/msg00108.html Mike_D_Davies@fmo.com wrote: > > > Local variables should be working in C/C++ use now. You should > > see them in the Xref window. > > When you say "now" what do you mean in terms of version number ? 5.0 > I am using SN under Windows from the sourcenav-010412-windows.zip file. > Local C/C++ variables don't work for me despite having the "generate > references to local variables" checkbox checked. > > I think there may be a problem still lingering in there somewhere, > but I got no response when I posted earlier. I hunted out your earlier post and ran your example code snippet. I did an Xref of the "main" function and could see "y" and "retval" as local variable. This was under a Linux system not Windows. Source-Navigator doesn't (seem) handle local variables like global variables (WRT the GUI). It filters them out most of the time and I only see them in "show references" branches of an xref. There is a chance of some weird stuff going on under Windows WRT to local variables. Ian.