diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-18 05:35:23 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-18 05:35:23 +0000 |
commit | bef5c8bf65bf9a1ae7bf0d6630e17cf3eeae8cc4 (patch) | |
tree | c1799defd70eba8f6b6479af53ec6420de1d1440 /Driver/HTMLPrint.cpp | |
parent | fb58609c5b3f0d665ea58e37ef39eb7ea74758a4 (diff) |
Restore macro expansion for HTMLPrint by using the original Preprocessor.
This is a workaround until we figure out why a freshly create Preprocessor
doesn't expand macros from headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/HTMLPrint.cpp')
-rw-r--r-- | Driver/HTMLPrint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/HTMLPrint.cpp b/Driver/HTMLPrint.cpp index ba9cd9e400..b1c4c6d998 100644 --- a/Driver/HTMLPrint.cpp +++ b/Driver/HTMLPrint.cpp @@ -67,7 +67,7 @@ HTMLPrinter::~HTMLPrinter() { // for example. if (PP) html::SyntaxHighlight(R, FileID, *PP); - if (PPF) html::HighlightMacros(R, FileID, *PPF); + if (PPF) html::HighlightMacros(R, FileID, *PP); html::EscapeText(R, FileID, false, true); // Open the output. |