How to add double dot ".." token?
#2157
-
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 3 replies
-
|
Greetings @ssteinhauser I will look into this tomorrow morning and find a solution (its evening here already). |
Beta Was this translation helpful? Give feedback.
-
|
I believe, you need to define you own |
Beta Was this translation helpful? Give feedback.
-
|
Basically, we can define another |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your quick reply @manticore-projects , can you please provide deeper insights of your thoughts? Maybe I miss something, but up to my knowledge, introducing a feature flag or implementing my own If we would implement a feature flag, we would have to implement it that way, that the support of double dot multipart identifier is mutually exclusive with the |
Beta Was this translation helpful? Give feedback.
-
|
Good Morning @ssteinhauser. Please see 9f51831 (sorry for committing directly, it was an accident). |
Beta Was this translation helpful? Give feedback.
-
|
Good Morning @ssteinhauser . I fully understand your concern, but We could rework those Right now, I would like to suggest to ignore that there can be whitespace in between. JSQLParser is meant to be a parser and not a validation tool. Suggestion:
|
Beta Was this translation helpful? Give feedback.
-
|
I tried to work with Tokens in those two productions instead of chaining the |
Beta Was this translation helpful? Give feedback.
-
|
Good Morning @ssteinhauser . I believe I have been able to fix/improve the dot-handling. The following 2 productions work: This should allow you to work with tokens like |
Beta Was this translation helpful? Give feedback.

Good Morning @ssteinhauser .
I believe I have been able to fix/improve the dot-handling. The following 2 productions work: