The 'includedir' directives should make the parser include all
the files in the directories introduced with the directives.
This commit removes clearing of the gathered file list when
the directive is encountered.
Change-Id: Id14be322e8696bd85ddfbb0ba2360a7b4b5bcda4
DIR *dir;
struct dirent *ent;
const std::string dname = expandPath(parent_dir, incldir);
- files.clear();
+
if ((dir = opendir(dname.c_str())) != NULL) {
while ((ent = readdir(dir)) != NULL) {
std::string s(ent->d_name);