From: Mike_D_Davies@fmo.com
To: sourcenav@sources.redhat.com
Subject: Re: Adding a Parser: SN_LOCAL_VAR_DEF ?
Date: Tue, 14 Aug 2001 01:08:00 -0000 [thread overview]
Message-ID: <85256AA8.002C3928.00@sfldmint11.na.fmo.com> (raw)
>> 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.
OK, I also see them now, but as you say only in the show references branch of
an xref. Thanks for pointing that out.
I didn't expect this to be the result of the "generate references to local
variables" switch, is there any way of forcing local variables to be treated
the same way as globals ? Or is there some problem relating to multiple local
variables from different function scopes havint the same name ?
>There is a chance of some weird stuff going on under Windows
>WRT to local variables.
Aparently not :-)
Thanks again,
Mike
next reply other threads:[~2001-08-14 1:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-14 1:08 Mike_D_Davies [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-08-10 1:39 Mike_D_Davies
2001-08-10 10:21 ` Ian Roxborough
2001-08-09 16:33 Keogh, Craig
2001-08-09 17:14 ` Ian Roxborough
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85256AA8.002C3928.00@sfldmint11.na.fmo.com \
--to=mike_d_davies@fmo.com \
--cc=sourcenav@sources.redhat.com \
/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.
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).