(strip_off_ending): Strip off ".cpp" extension.
From-SVN: r6262
This commit is contained in:
parent
a0c2b8e969
commit
4da617d882
@ -1499,6 +1499,8 @@ strip_off_ending (name, len)
|
||||
name[len - 2] = 0;
|
||||
else if (len > 4 && ! strcmp (".cxx", name + len - 4))
|
||||
name[len - 4] = 0;
|
||||
else if (len > 4 && ! strcmp (".cpp", name + len - 4))
|
||||
name[len - 4] = 0;
|
||||
else if (len > 2 && ! strcmp (".f", name + len - 2))
|
||||
name[len - 2] = 0;
|
||||
/* Ada will use extensions like .ada, .adb, and .ads, so just test
|
||||
|
Loading…
Reference in New Issue
Block a user