summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index ecee38777..1cda8e7d0 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -300,6 +300,7 @@ int CompileRequest::executeActionsInner()
// Generate initial IR for all the translation
// units, if we are in a mode where IR is called for.
generateIR();
+
if (mSink.GetErrorCount() != 0)
return 1;