Le 20 janv. 2011 à 07:27, Paul Eggert a écrit : > On 01/19/2011 12:13 AM, Alex Rozenman wrote: >> it is impossible to obtain an unambiguous grammar with syntax extensions >> like id '[' c_id ']' without involving the ';' requirement. > > Yes, but that's OK; that's what I'm proposing. That is, I'm proposing that > if a user wants to use the new syntax extensions, the user also must put ';' > at the end of each rule. > > It's OK to require ';' for new grammars. Omitting ';' has been deprecated > for many years, and no new grammars should be omitting ';'.
I think we used to have a warning about missing ';', a warning that was removed at some point. I think it should be implemented again.