diff --git a/externals/simplecpp/simplecpp.cpp b/externals/simplecpp/simplecpp.cpp index 01f6ded40..058656863 100644 --- a/externals/simplecpp/simplecpp.cpp +++ b/externals/simplecpp/simplecpp.cpp @@ -1220,6 +1220,8 @@ std::map simplecpp::load(const simplecpp::To if (!f.is_open()) continue; + ret[header2] = 0; + TokenList *tokens = new TokenList(f, fileNumbers, header2); tokens->removeComments(); if (!tokens->cbegin())