From dev-return-55393-archive-asf-public=cust-asf.ponee.io@thrift.apache.org Sat Feb 2 08:42:09 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 05EA9180656 for ; Sat, 2 Feb 2019 09:42:08 +0100 (CET) Received: (qmail 38600 invoked by uid 500); 2 Feb 2019 08:42:08 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 38589 invoked by uid 99); 2 Feb 2019 08:42:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2019 08:42:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 980A5C8459 for ; Sat, 2 Feb 2019 08:42:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mRz1UWQPtMdp for ; Sat, 2 Feb 2019 08:42:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id EF8E66242F for ; Sat, 2 Feb 2019 08:42:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 17361E0141 for ; Sat, 2 Feb 2019 08:42:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 27C94243DE for ; Sat, 2 Feb 2019 08:42:00 +0000 (UTC) Date: Sat, 2 Feb 2019 08:42:00 +0000 (UTC) From: "Jens Geyer (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (THRIFT-600) Parser error on fields named "e0", "e1", ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)