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

Match "other" keywords last #17464

Merged
merged 1 commit into from
Oct 21, 2022
Merged

Match "other" keywords last #17464

merged 1 commit into from
Oct 21, 2022

Conversation

Charles-Gagnon
Copy link
Contributor

Currently we match the list of "other" keywords near the top, which means if there's a keyword that's also something else (like DAY and the function DAY()) then it'll match the keyword even if the other, more specific match is a better fit.

This will require that other matches are always going to be more specific, but that seems to be the case here for all the current language items from my looking.

Before :
image

After :
image

@Charles-Gagnon Charles-Gagnon merged commit 8152be3 into main Oct 21, 2022
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/otherKeywordsLast branch October 21, 2022 16:04
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