[Prev][Next][Index]
Re: SgFunctionSymb::numberOfParameters returns bogus value
- From: Beata Winnicka <bfatyga@slab.extreme.indiana.edu>
- Date: Fri, 31 Mar 95 15:24:03 -0500
- To: Lars Thomas Hansen <lth@skinner.cs.uoregon.edu>
- Subject: Re: SgFunctionSymb::numberOfParameters returns bogus value
- Cc: sage-bugs@rainier.extreme.indiana.edu
- Sender: owner-sage-bugs@extreme.indiana.edu
>What is the in_l field, anyway?
in_l field is a pointer to the first argument symbol. For symbols
that have variant FUNCTION_NAME, this information is actually stored
in the .dep file. The method SgFunctionSymb::numberOfParameters is
using this field to find the first argument.
The SgSymbol::declareTheSymbol was (incorrectly) modifying this
field. I have just CVS'ed a change to declareTheSymbol, so now
SgFunctionSymb::numberOfParameters should work correctly.
--Beata
PS: I'll be on vacation for the next two weeks.