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

Composite namespaces for C++ not allowed in .thrift file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++ - Compiler
    • Labels:
      None
    • Environment:

      Linux
      svn revision 682458

      Description

      thrift compiler does not allow user to define a cpp namespace which includes :: in its name.

      putting
      namespace cpp xx::yyy

      in input .thirft file will report an error

      [ERROR:/tmp/t.thrift:6] (last token was ':')
      syntax error
      [FAILURE:/tmp/t.thrift:6] Parser error during include pass.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              losipiuk Lukasz Osipiuk
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: