Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix language detection with file names containing more than one dot #20

Merged
merged 2 commits into from
Aug 27, 2018

Conversation

9fcc
Copy link

@9fcc 9fcc commented Aug 24, 2018

Some files can have multiple dots in their names but CMake always returns the longest extensions including all dots. For example generated files can have .gen.c longest extension.

@arsenm arsenm merged commit 002fdca into arsenm:master Aug 27, 2018
@9fcc 9fcc deleted the shortest-ext branch August 28, 2018 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants