[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: Empty rule spoiling error reporting
From: |
Hans Aberg |
Subject: |
Re[2]: Empty rule spoiling error reporting |
Date: |
Thu, 5 Aug 2004 10:18:00 +0200 |
At 22:55 +0400 2004/08/04, hz kto wrote:
>> So your best shot is probably to explain more carefully why you need this
>> feature, in case you want to stick with Bison.
>
>I have to stick with Bison. Reason why I need this is pretty simple:
>I just want to report more possible tokens. As it stands now I report only
>one instead of several in these cases.
It seems that rewriting the grammar, as Tim Van Holder suggests, is the
best way to go. Because Bison is using LALR(1), not LR(1), do not expect
super error messages/recovery.
Hans Aberg