[ https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532237#comment-13532237 ]
Glenn Pierce edited comment on THRIFT-600 at 12/14/12 11:08 AM: ---------------------------------------------------------------- May also effect parameters. Ie map<string, string> getSettings(1:string authstring, 2:string section) throws ( 1:ThriftExceptions.NotAuthorisedException e0, 2:ThriftExceptions.DuplicateException e1); fails with the same parse error. was (Author: glennpierce): May also effect parameters. Ie map<string, string> getSettings(1:string authstring, 2:string section) throws ( 1:ThriftExceptions.NotAuthorisedException e0, 2:ThriftExceptions.BmosException e1); fails with the same parse error. > Parser error on fields named "e0", "e1", ... > -------------------------------------------- > > Key: THRIFT-600 > URL: https://issues.apache.org/jira/browse/THRIFT-600 > Project: Thrift > Issue Type: Bug > Components: Compiler (General) > Affects Versions: 0.1, 0.2 > Environment: Ubuntu 8.10 "Intrepid" > Reporter: Kevin Barrett > Priority: Minor > Attachments: THRIFT-600-FIX-DOUBLE-REGEX-V1.patch > > > Running the compiler on the following Thrift code: > {code} > struct test > { > 1: i32 e1 > } > {code} > produces the error "Parser error during include pass", with no additional > information. Tested with field names e0, e1, ..., e9, and E0, E1, ..., E9. > Letters other than E, or characters after the E other than numbers, do not > produce the error. The same issue applies to function arguments. Tested > with --gen java, --gen cpp, and --gen python, all cause the error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira