bump simplecpp, avoid hang when there are circular inclusions
This commit is contained in:
parent
8a1936d5c9
commit
ae37eb5c06
|
@ -1220,6 +1220,8 @@ std::map<std::string, simplecpp::TokenList*> simplecpp::load(const simplecpp::To
|
||||||
if (!f.is_open())
|
if (!f.is_open())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
ret[header2] = 0;
|
||||||
|
|
||||||
TokenList *tokens = new TokenList(f, fileNumbers, header2);
|
TokenList *tokens = new TokenList(f, fileNumbers, header2);
|
||||||
tokens->removeComments();
|
tokens->removeComments();
|
||||||
if (!tokens->cbegin())
|
if (!tokens->cbegin())
|
||||||
|
|
Loading…
Reference in New Issue