Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
This comment in a .thrift file will cause a parse error:
/** * / */
For example:
$ thrift -version Thrift version 0.9.3 $ cat example.thrift namespace java com.example /** * / */ struct Foo {} $ thrift --gen java example.thrift [ERROR:/Users/ryangreenberg/workspace/source/example.thrift:3] (last token was '/') Unexpected token in input: "/"
This bug was encountered because of a reference to an absolute file path in a docblock comment (e.g. * /var/log/…)
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-3709 Comment syntax can produce broken code
- Closed