From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20091021200349.40BFF5B2E@mail.bitblocks.com> References: <20091021200349.40BFF5B2E@mail.bitblocks.com> Date: Wed, 21 Oct 2009 22:18:35 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] bison problem, not plan9 related Topicbox-Message-UUID: 8de4155e-ead5-11e9-9d60-3106f5b1d025 > Is this what you are trying to do? > > $ cat b.y <<'EOF' > %token ATOM REP > %% > blocks: block | block blocks; > block: ATOM | REP block | '[' blocks ']'; > %% > EOF > $ bison b.y > $ My head is starting to spin, but I think that, possibly, yes. Seems to be the simplest way how to do it. :) Anyway, I also needed to know what R Cox explained, that was important; still wondering what that %nonassoc really means. Thanks Ruda