summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/Grammar.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Grammar.y b/cpp/src/Slice/Grammar.y
index 43d98d82d9b..c119d4af163 100644
--- a/cpp/src/Slice/Grammar.y
+++ b/cpp/src/Slice/Grammar.y
@@ -805,7 +805,7 @@ exception
ExceptionPtr exception = cont->lookupException(scoped->v);
if(!exception)
{
- $$ = cont->createException(IceUtil::generateUUID(), 0, false);
+ exception = cont->createException(IceUtil::generateUUID(), 0, false);
}
cont->checkIntroduced(scoped->v, exception);
$$ = exception;