aboutsummaryrefslogtreecommitdiff
path: root/Driver/HTMLPrint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/HTMLPrint.cpp')
-rw-r--r--Driver/HTMLPrint.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Driver/HTMLPrint.cpp b/Driver/HTMLPrint.cpp
index 2b01489963..54678dea3e 100644
--- a/Driver/HTMLPrint.cpp
+++ b/Driver/HTMLPrint.cpp
@@ -59,8 +59,10 @@ HTMLPrinter::~HTMLPrinter() {
html::AddLineNumbers(R, FileID);
html::AddHeaderFooterInternalBuiltinCSS(R, FileID);
- // If we have a preprocessor, relex the file and syntax hilight. We might not
- // have a preprocessor if we come from a deserialized AST file, for example.
+ // If we have a preprocessor, relex the file and syntax highlight.
+ // We might not have a preprocessor if we come from a deserialized AST file,
+ // for example.
+
if (PP) {
html::SyntaxHighlight(R, FileID, *PP);
html::HighlightMacros(R, FileID, *PP);