forked from github/verilator
Fix .c files to be treated as .cpp, bug930.
This commit is contained in:
parent
da254af8d5
commit
7578ef889f
3
Changes
3
Changes
@ -7,6 +7,9 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||
|
||||
**** Fix MinGW compiler error, bug929. [Hans Tichelaar]
|
||||
|
||||
**** Fix .c files to be treated as .cpp, bug930. [Jonathon Donaldson]
|
||||
|
||||
|
||||
* Verilator 3.874 2015-06-06
|
||||
|
||||
*** Add pkg-config .pc file, bug919. [Stefan Wallentowitz]
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user