[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: append-semicolon-to-action backward compatibility patch
From: |
Paul Eggert |
Subject: |
Re: append-semicolon-to-action backward compatibility patch |
Date: |
Mon, 6 Jan 2003 01:21:47 -0800 (PST) |
> From: Akim Demaille <address@hidden>
> Date: Sun, 05 Jan 2003 14:19:40 +0100
>
> Bison should never have accepted such inputs,
You might have to take that up with RMS; I suspect that he put that
feature in. (I wouldn't have done it myself....)
> This change is very much C oriented,
Absolutely. The change should be done only for C-like languages.
> Having people fix their grammars is saner, imho.
Perhaps; but Bison 1.50 and 1.75 have developed a reputation for
breaking grammars that worked perfectly well with earlier versions of
Bison. I don't want people to have excuses to stick with old
versions. Admittedly it is a judgment call, but this change is a pure
extension to POSIX and is perfectly safe, as far as I can tell.
I have started to prepare a patch for a --pedantic option to Bison,
which will catch the use of extensions like this. I think it should
wait until after Bison 2.0 is out, though.