summaryrefslogtreecommitdiff
path: root/idlc/source/astexpression.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/astexpression.cxx')
-rw-r--r--idlc/source/astexpression.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 69b5f9f6248a..995796e22f7b 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -1138,7 +1138,7 @@ OString AstExpression::toString()
{
OString exprStr;
if ( m_combOperator == EC_symbol )
- return *m_pSymbolicName;
+ return m_pSymbolicName ? *m_pSymbolicName : OString("<Undefined Name>");
if ( m_exprValue )
{