From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a99d429b9f3a6dcc X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.219.146 with SMTP id hu18mr1741057qab.3.1363870536809; Thu, 21 Mar 2013 05:55:36 -0700 (PDT) X-Received: by 10.49.3.129 with SMTP id c1mr937863qec.40.1363870536745; Thu, 21 Mar 2013 05:55:36 -0700 (PDT) Path: k8ni5855qas.0!nntp.google.com!dd2no5140854qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 21 Mar 2013 05:55:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=5.69.185.0; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 5.69.185.0 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Stack Overflow when Pyparsing Ada 2005 Scoped Identifiers using Reference Manual Grammar From: Lucretia Injection-Date: Thu, 21 Mar 2013 12:55:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-03-21T05:55:36-07:00 List-Id: On Thursday, 21 March 2013 08:04:46 UTC, per.n...@gmail.com wrote: > The grammar rule name when parsing scoped identifiers (rule selected_component) such as the expression "Global_Types.Integer2" fails because it is part of a left-associative grammar rule cycle. You'll need to remove left recursion by refactoring the grammar or adjusting it so that the rule accepts names with dots in it, then process the name matching to split it into component parts. Luke.