comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Stack Overflow when Pyparsing Ada 2005 Scoped Identifiers using Reference Manual Grammar
Date: Thu, 21 Mar 2013 05:55:36 -0700 (PDT)
Date: 2013-03-21T05:55:36-07:00	[thread overview]
Message-ID: <d2f231dd-b4e0-4993-b27c-d9e44bade7b8@googlegroups.com> (raw)
In-Reply-To: <bb6c17a7-1971-4e81-83fd-87da78b54d6e@googlegroups.com>

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.



      reply	other threads:[~2013-03-21 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21  8:04 Stack Overflow when Pyparsing Ada 2005 Scoped Identifiers using Reference Manual Grammar per.nordlow
2013-03-21 12:55 ` Lucretia [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox