summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-dump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-dump.cpp')
-rw-r--r--source/slang/slang-ast-dump.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/slang/slang-ast-dump.cpp b/source/slang/slang-ast-dump.cpp
index 9da1a0163..d67a35174 100644
--- a/source/slang/slang-ast-dump.cpp
+++ b/source/slang/slang-ast-dump.cpp
@@ -341,7 +341,10 @@ struct ASTDumpContext
{
m_writer->emit(getGLSLNameForImageFormat(imageFormat));
}
-
+ void dump(TryClauseType clauseType)
+ {
+ m_writer->emit(getTryClauseTypeName(clauseType));
+ }
void dump(const String& string)
{
dump(string.getUnownedSlice());