[
https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758788#comment-16758788
]
James E. King III commented on THRIFT-600:
------------------------------------------
I no longer get the error however the patch here shows a double constant list
which doesn't seem to work in my limited testing with 0.12.0.
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)