GeezerVison is showing github.com — compileJavacc emits JavaCC warnings for shadowed literals and unreachable DATA_TYPE branches · Issue #2403 · JSQLParser/JSqlParser
compileJavacc emits JavaCC warnings for shadowed literals and unreachable DATA_TYPE branches #2403
Description
Warning: RR cannot be matched as a string literal token. It will be matched as the non string literal token of kind 149.
Warning: RS cannot be matched as a string literal token. It will be matched as the non string literal token of kind 149.
Warning: TEXT cannot be matched as a string literal token. It will be matched as the non string literal token of kind 407.
Warning: TIMESTAMPTZ cannot be matched as a string literal token. It will be matched as the non string literal token of kind 92.
Warning: TIMEZONE cannot be matched as a string literal token. It will be matched as the non string literal token of kind 522.
Warning: TINYTEXT cannot be matched as a string literal token. It will be matched as the non string literal token of kind 407.
Warning: UR cannot be matched as a string literal token. It will be matched as the non string literal token of kind 149.
Warning: MATCHING cannot be matched as a string literal token. It will be matched as the non string literal token of kind 522.
Warning: DISTRIBUTED cannot be matched as a string literal token. It will be matched as the non string literal token of kind 522.
Warning: RECOVERY cannot be matched as a string literal token. It will be matched as the non string literal token of kind 522.
Warning: Line 748, Column 5: Regular Expression choice : K_BYTES can never be matched as : DATA_TYPE
Warning: Line 748, Column 5: Regular Expression choice : K_BINARY can never be matched as : DATA_TYPE
Warning: Line 748, Column 5: Regular Expression choice : K_BOOLEAN can never be matched as : DATA_TYPE
Warning: Line 748, Column 5: Regular Expression choice : K_UNSIGNED can never be matched as : DATA_TYPE
Warning: Line 748, Column 5: Regular Expression choice : K_SIGNED can never be matched as : DATA_TYPE
Warning: Line 748, Column 5: Regular Expression choice : K_CHARACTER can never be matched as : DATA_TYPE
Warning: Line 748, Column 5: Regular Expression choice : K_CHAR can never be matched as : DATA_TYPE
Reacted by manticore-projects
Activity
manticore-projects commented on Mar 8, 2026
Greetings!
Thank you, I am aware of this and have started to rework the Token Logic completely. I will share more details on this next week with you.
added a commit that references this issue
on Sep 11, 2026This issue will close once commit 51e29a0 is merged into the 'master' branch.51e29a0
Metadata
Metadata
Development
No branches or pull requestsIssue actions