Skip to content

Revert too-long char literal match changes #40

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

Merged
merged 1 commit into from
Jan 25, 2016
Merged

Revert too-long char literal match changes #40

merged 1 commit into from
Jan 25, 2016

Conversation

mcous
Copy link
Contributor

@mcous mcous commented Jan 25, 2016

This PR reverts the changes to the invalid character length matchers I introduced in #37. Turns out they broke highlighting for two character literals used on the same line (see #39). Oops.

Reverting that change means that val tooLong = '''' will not be highlighted properly as an error, but I can't find an elegant way to do it. It might need its own matcher, and from playing around, that matcher will probably need to deal with escaped single-quotes as well. I'd like to release this first while I think about it / experiment.

mcous added a commit that referenced this pull request Jan 25, 2016
Revert too-long char literal match changes
@mcous mcous merged commit ef16468 into master Jan 25, 2016
@mcous mcous deleted the fix-issue-39 branch January 25, 2016 20:59
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.

1 participant