Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3477

Parser fails on enum item that starts with 'E' letter and continues with number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Compiler (General)
    • None

    Description

      Consider simple enum:

      enum Test
      {
          E10
      }
      

      It will fail with message

      [ERROR:C:/Test.thrift:3] (last token was 'E10') syntax error
      [FAILURE:C:/Test.thrift:3] Parser error during include pass.
      

      Attachments

        Activity

          People

            jensg Jens Geyer
            cstrike Gordashnikov Artur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: