summaryrefslogtreecommitdiff
path: root/source/compiler-core
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/slang-diagnostic-sink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler-core/slang-diagnostic-sink.cpp b/source/compiler-core/slang-diagnostic-sink.cpp
index 0110b16d7..34a3c4968 100644
--- a/source/compiler-core/slang-diagnostic-sink.cpp
+++ b/source/compiler-core/slang-diagnostic-sink.cpp
@@ -642,13 +642,13 @@ void DiagnosticSink::diagnoseRaw(
// Did the client supply a callback for us to use?
if(writer)
{
- // If so, pass the error string along to them
+ // If so, pass the error string along to them.
writer->write(message.begin(), message.getLength());
}
else
{
// If the user doesn't have a callback, then just
- // collect our diagnostic messages into a buffer
+ // collect our diagnostic messages into a buffer.
outputBuffer.append(message);
}