Merge pull request #1192 from dsvi/dsvi-patch-1

Update path.lua
This commit is contained in:
@starkos 2019-10-14 15:45:46 -04:00 committed by GitHub
commit c3a044ff1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,7 +171,7 @@
end
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.iscfile(fname)
end