[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: Requiring the ending `;'
From: |
Akim Demaille |
Subject: |
Re: RFC: Requiring the ending `;' |
Date: |
03 Mar 2002 23:38:10 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
>>>>> "Paul" == Paul Eggert <address@hidden> writes:
>> - know whether POSIX says something,
Paul> POSIX requires the ending ';'. And for good reason: it allows
Paul> the Yacc grammar to be Yaccable.
Paul, my dear Paul, I think this is the first time I hear from your
POSIX mouth with that much pleasure :)
Paul> I've been using Yacc for over 25 years, and this is the first
Paul> that I'd noticed the semicolon is optional.
<orgasmic>Raaah!</orgasmic>
Paul> While we're on the subject of semicolon trivia, the original
Paul> Yacc paper says that you can put as many semicolons as you like
Paul> after a rule, e.g.:
Paul> /* This grammar works with Yacc, but not with Bison. */ %%
Paul> expr: 'x';;;;;;;
Paul> (And no, I don't think Bison should be modified to support
Paul> _that_. :-)
That's too much for me in a single shot! Lemme breath! :)
- RFC: Requiring the ending `;', Akim Demaille, 2002/03/03
- Re: RFC: Requiring the ending `;', Akim Demaille, 2002/03/03
- Re: RFC: Requiring the ending `;', Hans Aberg, 2002/03/03
- Re: RFC: Requiring the ending `;', Paul Eggert, 2002/03/03
- Re: RFC: Requiring the ending `;',
Akim Demaille <=
- Re: RFC: Requiring the ending `;', Hans Aberg, 2002/03/04
- Re: RFC: Requiring the ending `;', Akim Demaille, 2002/03/04
- Re: RFC: Requiring the ending `;', Hans Aberg, 2002/03/04
- Re: RFC: Requiring the ending `;', Akim Demaille, 2002/03/04
- Re: RFC: Requiring the ending `;', Hans Aberg, 2002/03/04