Closed ssteinhauser closed 1 month ago
Thank you for reporting, I actually broke it myself when introducing complex compound Data Type tokens. I will definitely fix it, but this will take a couple of days since I am in transit right now. Sorry for any inconvenience.
Thank you for the quick reply. I tried to implement and provide a solution. The idea is to parse and iterate over each token definition and don't whitelist anything which is defined within a private token. Let me know your thoughts on this: #2044
However, there is still an issue, related to #2041. After running the updateKeywords
now, PRECISION
and BASE64
will be removed. PRECISION
is removed, because it is just part of a private token. BASE64
is removed, because numbers in the token values are not being whitelisted due to the condition tokenValue.matches("[A-Za-z]+")
.
The execution of the
updateKeywords
task adds the following tokens toRelObjectNameWithoutValue
:https://github.com/JSQLParser/JSqlParser/blob/411a3da9facf20634c619eb6ffb5626ea57ce7d1/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt#L529-L551
This causes the javacc-jjtree goal to fail: