[ 
https://issues.apache.org/jira/browse/CALCITE-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632110#comment-17632110
 ] 

Aaron Braunstein commented on CALCITE-5378:
-------------------------------------------

I can open a quick PR for this but probably easier if an existing calcite 
contributor does it, if someone can lend a hand :) 

> Single line comment tokens should be recoverable during SQL parsing
> -------------------------------------------------------------------
>
>                 Key: CALCITE-5378
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5378
>             Project: Calcite
>          Issue Type: Wish
>          Components: core
>            Reporter: Aaron Braunstein
>            Priority: Major
>              Labels: lexer, sql
>
> Currently SINGLE_LINE_COMMENT tokens are of type SKIP which makes them 
> totally inaccessible during parsing. They should be type SPECIAL_TOKEN (like 
> multiline comment tokens) so they can be optionally recovered during parsing. 
> [Reference|https://javacc.github.io/javacc/tutorials/token-manager.html]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to