thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-600) Parser error on fields named "e0", "e1", ...
Date Sat, 02 Feb 2019 08:42:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758924#comment-16758924
] 

Jens Geyer commented on THRIFT-600:
-----------------------------------

The underlying problem has been fixed, but I van't remember the patch. But that sounds somewhat
familiar ...

> 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)

Mime
View raw message