diff options
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index 703991e36..4cda366f0 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -423,6 +423,12 @@ namespace Slang sourceManager = sm; mSink.sourceManager = sm; } + + /// During propagation of an exception for an internal + /// error, note that this source location was involved + void noteInternalErrorLoc(SourceLoc const& loc); + + int internalErrorLocsNoted = 0; }; void generateOutput( |
