diff options
Diffstat (limited to 'Driver/HTMLPrint.cpp')
-rw-r--r-- | Driver/HTMLPrint.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Driver/HTMLPrint.cpp b/Driver/HTMLPrint.cpp index cb32afd817..2b01489963 100644 --- a/Driver/HTMLPrint.cpp +++ b/Driver/HTMLPrint.cpp @@ -61,8 +61,10 @@ HTMLPrinter::~HTMLPrinter() { // 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 (PP) + if (PP) { html::SyntaxHighlight(R, FileID, *PP); + html::HighlightMacros(R, FileID, *PP); + } // Open the output. |