[ https://issues.apache.org/jira/browse/CALCITE-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zou updated CALCITE-5378: ------------------------- Description: 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] was: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] > 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)