[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quirks in parse-gram.y
From: |
Akim Demaille |
Subject: |
Re: quirks in parse-gram.y |
Date: |
Wed, 4 Aug 2021 09:39:21 +0200 |
> Le 22 avr. 2021 à 07:06, Akim Demaille <akim@lrde.epita.fr> a écrit :
>
> Hi!
>
>> Le 20 avr. 2021 à 04:18, 叶雨飞 <sunyucong@gmail.com> a écrit :
>> 2. The rules grammar indicate an ending “;” is actually optional. In fact,
>> the parse-gram.y missed two “;” in separate places. However the doc is
>> pretty clear an “;” is expected. Not sure which is intended .
>
> Good catch. The grammar would be definitely much simpler if the semicolon
> were mandatory, but YACC compliance forbids this. So it's the documentation
> which is wrong. I'll fix that, thanks!
FTR, I have looked for "semicolon" in the documentation, and couldn't
find a place where it was falsely declared as mandated. So I don't
believe that the documentation was actually wrong.
Cheers!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: quirks in parse-gram.y,
Akim Demaille <=