[Prev][Next][Index]
No Subject
- To: Darryl Ivan Brown <darrylb@skinner.cs.uoregon.edu>
- Cc: sage-bugs@cica.indiana.edu
- In-Reply-To: Your message of "Wed, 13 Jul 1994 16:34:08 PDT."
<9407132334.AA01091@skinner.cs.uoregon.edu>
- Date: Thu, 14 Jul 1994 08:44:21 -0500
- From: Andrew Mauer <mauer@mcs.anl.gov>
At least one of your problems is a known bug. That problem is that you
call e->symbol() unconditionally, but value expressions do not have
valid symbols. Either do not call e->symbol() for value expressions,
or replace SgExpression::symbol() in your libSage++.h with the
appended one.
/Andrew/
inline SgSymbol *SgExpression::symbol()
{
/* Value expressions do not have valid symbol pointers */
if ( isSgValueExp (this) )
return 0;
else
return SymbMapping(NODE_SYMB(thellnd));
}
Reference(s):
- No Subject
- From: Darryl Ivan Brown <darrylb@skinner.cs.uoregon.edu>