You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Aaron Braunstein (Jira)" <ji...@apache.org> on 2022/11/11 06:53:00 UTC

[jira] [Created] (CALCITE-5378) Single line comment tokens should be recoverable during SQL parsing

Aaron Braunstein created CALCITE-5378:
-----------------------------------------

             Summary: 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


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)