diff --git a/decl.cpp b/decl.cpp index 04d19c39..0c613739 100644 --- a/decl.cpp +++ b/decl.cpp @@ -527,6 +527,9 @@ GetStructTypesNamesPositions(const std::vector &sd, std::set seenNames; for (unsigned int i = 0; i < sd.size(); ++i) { const Type *type = sd[i]->type; + if (type == NULL) + continue; + // FIXME: making this fake little DeclSpecs here is really // disgusting DeclSpecs ds(type);