-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
Wrong line count for the language Elm (and maybe other languages too) when encounter certain characters #230
Comments
Ah another edge case :) I think it should be simple to fix, but don't quote me on that. |
This same bug is also on cloc so the fix should be the same: AlDanial/cloc#568 |
Alas the fix is not the same. cloc tries to remove comments in some instances, whereas scc uses a state machine that changes based on what it's looking at and what state it can move into. |
Looks like it was a simple fix.
Missing quotes :) Committing to master as this looks like its correct now. |
I found this issue in cloc so I tried scc but it seems that also scc has the same issue.
This is the issue that I opened for cloc: AlDanial/cloc#568
The text was updated successfully, but these errors were encountered: