diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-10-11 16:05:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-11 16:05:09 -0700 |
| commit | 28ca4dc60aecc0acda8b364d0553a72d2e6c7964 (patch) | |
| tree | 281c2e2ec0cc64196098bb54fd0528e67862d69b | |
| parent | 331ddfa7bfe00bce628dd1aa0f721f24554dfedd (diff) | |
Fixup: re-enable exception guard (#208)
This is intended to produce a better experience for end users when they encounter internal compiler errors.
| -rw-r--r-- | source/slang/slang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index e51d111de..65abbb3f2 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -859,7 +859,7 @@ SLANG_API int spCompile( { auto req = REQ(request); -#if 0 +#if 1 // By default we'd like to catch as many internal errors as possible, // and report them to the user nicely (rather than just crash their // application). Internally Slang currently uses exceptions for this. |
