Update path.lua

added *.c++ extension
This commit is contained in:
ds 2018-11-11 21:52:36 +03:00 committed by GitHub
parent ed483dd9bc
commit db0e27fb63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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