[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Grammatica-users] infinite parentheses
From: |
Steffen Gaede |
Subject: |
Re: [Grammatica-users] infinite parentheses |
Date: |
Wed, 28 Mar 2012 09:58:38 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
Ok, sorry my fault...
somewhere I've an error ;)
Steffen.
> I've following definition:
>
> %tokens%
> ...
> LEFT_PAREN = "("
> RIGHT_PAREN = ")"
> ...
>
> %productions%
> ...
> W1 = ("(" W1 ")") | ....
> ...
>
>
> It's running with something like this:
> (bla) => "(" bla ")"
>
> But if I've more then one parenthesis, i've got the error, although it
> should be interpreted like this:
> ((bla)) => "(" (bla) ")" => "(" bla ")"
>
>
>
>
> Steffen Gaede.
>
> _______________________________________________
> Grammatica-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/grammatica-users