[
https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762398#action_12762398
]
David Reiss commented on THRIFT-600:
------------------------------------
Probably a bug in the regex we use to parse floating point numbers like 1.2e3
(1200).
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.