help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing a strange list


From: Hans Aberg
Subject: Re: Parsing a strange list
Date: Wed, 15 Aug 2001 11:04:24 +0200

At 15:23 -0700 2001/08/14, Joris Esch wrote:
>I cannot use
>%left name or %left <probe> name
>because name is in fact a non-terminal symbol, for
>which i define a rule.

Then you need to describe you grammar more in detail: Is there any reason
you cannot make it a terminal? Or if you want to keep it a non-terminal, it
must still be made up terminals in some other rule. Why can't you use %left
on those? And if that does not help, perhaps your grammar ambiguities are
due to the fact that your "name" variable is not written to be compatible
with your name-list variable.

  Hans Aberg
                  * Email: Hans Aberg <mailto:address@hidden>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]