iffyio commented on issue #2065:
URL:
https://github.com/apache/datafusion-sqlparser-rs/issues/2065#issuecomment-3574115767
I see, thanks for clarifying! Yeah same, I can't think of a way for the
parser to disambiguate such a scenario. But I think that could be fine that the
decision be left up to the caller - in that since `find_between('a', 'b')`
would be returning both `/* one */` and `/* two */`, the caller might have a
preference on the more sensible strategy to use to associate the comments
across both tokens
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]