Do not emit if there are parse or trnasformation errors.
This commit is contained in:
parent
c91fffa352
commit
f0e446aedf
@ -157,7 +157,8 @@ namespace cling {
|
||||
|
||||
Transaction::DelayCallInfo DCI(DGR, Transaction::kCCIHandleTopLevelDecl);
|
||||
m_CurTransaction->append(DCI);
|
||||
if (!m_Consumer)
|
||||
if (!m_Consumer
|
||||
|| getTransaction()->getIssuedDiags() == Transaction::kErrors)
|
||||
return true;
|
||||
|
||||
if (comesFromASTReader(DGR)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user