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

sync with latest linguist version #152

Closed
wants to merge 1 commit into from
Closed

sync with latest linguist version #152

wants to merge 1 commit into from

Conversation

smola
Copy link
Contributor

@smola smola commented Jul 9, 2018

No description provided.

Signed-off-by: Santiago M. Mola <[email protected]>
@smola smola requested a review from dennwc July 9, 2018 10:40
@smola
Copy link
Contributor Author

smola commented Jul 9, 2018

I recommend to review with git diff -b instead of GitHub UI. There is just too much noise from indentation length changes.

@dennwc
Copy link
Contributor

dennwc commented Jul 9, 2018

@smola Consider this and this

h_CPlusPlus_Matcher_4 = substring.Regexp(`(?m)^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+`)
h_CPlusPlus_Matcher_5 = substring.Regexp(`(?m)^[ \t]*(private|public|protected):$`)
h_CPlusPlus_Matcher_6 = substring.Regexp(`(?m)std::\w+`)
h_CPlusPlus_Matcher_0 = substring.Regexp(`(?m)CPlusPlusRegex`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This certainly doesn't work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Something needs updating in the parser.

@smola
Copy link
Contributor Author

smola commented Jul 16, 2018

It is also worrying that we do not catch these things with our tests.

@smola
Copy link
Contributor Author

smola commented Aug 27, 2018

Dropping this PR, but filed an issue for it: #155

@smola smola closed this Aug 27, 2018
@smola smola deleted the linguist-sync branch August 27, 2018 15:39
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