This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Variable errors


On Mon, 7 May 2001, Fernando Nasser wrote:

> Keith Seitz wrote:
> >
> > On Wed, 11 Apr 2001, Fernando Nasser wrote:
> >
> > > I guess you're right, I forgot the scalars.  Try this patch (*UNTESTED*)
> > > for now.  I will flag the varobj name if the type has changed over the
> > > weekend.  Until I do this, variables that change type from scalar to
> > > scalar (different types) will be highlighted.
> >
>
> Well, it took a while, but I now have the patch to address Keith's concerns.
>
> The indication that the type of the variable has changed (well, it is
> another variable with the same name actually) is now returned and can be
> tested regardless of the old variable being a scalar or a complex type.
> It seems to work in all cases now.

Yep, works well. I just have one small nitpick... Can we *please* not
return numbers which mean things? Or can we #define the return values? -2
and -1 don't mean much to me.

Thank you for looking into (and fixing) this.
Keith



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]