[ https://issues.apache.org/jira/browse/THRIFT-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068870#comment-15068870 ]
Ryan Greenberg commented on THRIFT-3501: ---------------------------------------- The newlines are not necessary to trigger this behavior, as the following will also fail: {code} /* * / */ {code} > Forward slash in docblock comment causes compiler error > ------------------------------------------------------- > > Key: THRIFT-3501 > URL: https://issues.apache.org/jira/browse/THRIFT-3501 > Project: Thrift > Issue Type: Bug > Components: Compiler (General) > Reporter: Ryan Greenberg > Priority: Minor > > This comment in a .thrift file will cause a parse error: > {code} > /** > * / > */ > {code} > For example: > {code} > $ 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: "/" > {code} > This bug was encountered because of a reference to an absolute file path in a > docblock comment (e.g. {{* /var/log/…}}) -- This message was sent by Atlassian JIRA (v6.3.4#6332)