[Top][All Lists]

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

Re: quirks in parse-gram.y

From: Kaz Kylheku
Subject: Re: quirks in parse-gram.y
Date: Thu, 22 Apr 2021 08:07:00 -0700
User-agent: Roundcube Webmail/0.9.2

On 2021-04-21 22:06, Akim Demaille wrote:
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!

This recently came up in comp.compilers


reply via email to

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