Update path.lua
added *.c++ extension
This commit is contained in:
parent
ed483dd9bc
commit
db0e27fb63
@ -171,7 +171,7 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
function path.iscppfile(fname)
|
function path.iscppfile(fname)
|
||||||
return path.hasextension(fname, { ".cc", ".cpp", ".cxx" })
|
return path.hasextension(fname, { ".cc", ".cpp", ".cxx", ".c++" })
|
||||||
or path.isobjcppfile(fname) -- is this really right?
|
or path.isobjcppfile(fname) -- is this really right?
|
||||||
or path.iscfile(fname)
|
or path.iscfile(fname)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user