Fix .c files to be treated as .cpp, bug930.

This commit is contained in:
Wilson Snyder
2015-06-09 07:28:51 -04:00
parent da254af8d5
commit 7578ef889f
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -960,6 +960,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
if (suffixed(filename.c_str(), ".cpp")
|| suffixed(filename.c_str(), ".cxx")
|| suffixed(filename.c_str(), ".cc")
|| suffixed(filename.c_str(), ".c")
|| suffixed(filename.c_str(), ".sp")) {
V3Options::addCppFile(filename);
}