aboutsummaryrefslogtreecommitdiff
path: root/Driver/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/HTMLDiagnostics.cpp')
-rw-r--r--Driver/HTMLDiagnostics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp
index d4b481bfda..69e77bc2fe 100644
--- a/Driver/HTMLDiagnostics.cpp
+++ b/Driver/HTMLDiagnostics.cpp
@@ -253,6 +253,9 @@ void HTMLDiagnostics::HandlePiece(Rewriter& R,
os << "\" class=\"msg\" style=\"margin-left:"
<< PosNo << "ex\">";
+ if (max > 1)
+ os << "<span class=\"PathIndex\">[" << num << "]</span> ";
+
os << html::EscapeText(P.getString()) << "</div></td></tr>";
// Insert the new html.