Fixed hang in VS10 debug mode (AppVeyor)

This commit is contained in:
PKEuS 2015-07-26 14:19:02 +02:00
parent 7f1af06df0
commit 7f9a313b94
1 changed files with 3 additions and 0 deletions

View File

@ -2945,6 +2945,9 @@ std::string Preprocessor::expandMacros(const std::string &code, std::string file
std::istringstream istr(code);
std::string line;
while (getlines(istr, line)) {
if (line.empty())
continue;
// Preprocessor directive
if (line[0] == '#') {
// defining a macro..