Fixed hang in VS10 debug mode (AppVeyor)
This commit is contained in:
parent
7f1af06df0
commit
7f9a313b94
|
@ -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..
|
||||
|
|
Loading…
Reference in New Issue