Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16595

fix syntax in Hplsql.g4

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: CLI
    • Labels:
      None

      Description

      According to https://github.com/antlr/antlr4/issues/118, incorrect error message might return if the start rule does not contain an explicit EOF transition. It is better to add EOF for the first rule in grammar.

        Attachments

        1. HIVE-16595.3.patch
          0.5 kB
          Yishuang Lu
        2. HIVE-16595.2.patch
          0.6 kB
          Yishuang Lu
        3. HIVE-16595.1.patch
          0.5 kB
          Yishuang Lu

          Issue Links

            Activity

              People

              • Assignee:
                lys0716 Yishuang Lu
                Reporter:
                lys0716 Yishuang Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: