[Prev][Next][Index]

No Subject




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):