diff options
| -rw-r--r-- | source/slang/slang-ast-print.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-ast-print.cpp b/source/slang/slang-ast-print.cpp index 8547fcda9..3e3d333c3 100644 --- a/source/slang/slang-ast-print.cpp +++ b/source/slang/slang-ast-print.cpp @@ -315,7 +315,10 @@ void ASTPrinter::addDeclParams(const DeclRef<Decl>& declRef, List<Range<Index>>* auto addParamElement = [&](Type* type, Index elementIndex) { if (!first) + { sb << ", "; + rangeStart += 2; + } // Type part. { |
