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

Avoid private tokens to be white listed and allow any word character in token value #2044

Merged

Conversation

ssteinhauser
Copy link
Contributor

@ssteinhauser ssteinhauser commented Jul 19, 2024

The idea of this PR is to parse and iterate over each token definition and don't whitelist anything which is defined within a private token.
Furthermore, this PR allows any token containing word character as token value to be whitelisted.

Closes #2040, #2041

@ssteinhauser ssteinhauser changed the title fix: Avoid private tokens to be white listed Avoid private tokens to be white listed and allow any word character in token value Jul 19, 2024
@manticore-projects
Copy link
Contributor

Thank you for your interest, work and effort! I really appreciate you solving this especially when I did not find the time yet to look into it.

@manticore-projects
Copy link
Contributor

manticore-projects commented Jul 20, 2024

Please help to fix the code formatting exceptions, Run './gradlew :spotlessApply' to fix these violations.
Nevermind, I pull it as it is and reformat it.
Thank you again for this PR!

@manticore-projects manticore-projects merged commit 821e92e into JSQLParser:master Jul 20, 2024
2 of 3 checks passed
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.

[BUG] Compilation error after execution of updateKeywords
2 participants