[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode adds newlines
From: |
David Kastrup |
Subject: |
Re: cc-mode adds newlines |
Date: |
Tue, 30 Nov 2004 09:11:42 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> Do you think it would be appropriate for cc-mode to insert a
> semicolon in a context like label: } where the standard does
> not accept empty statements? For example automatically, when
> the file is saved?
>
> Note that GCC accepts this too, as an extension.
No more.
> It is not valid ISO C, but it is valid GNU C.
> In designing GNU software, valid GNU C is a more
> important criterion than valid ISO C.
<URL:http://gcc.gnu.org/gcc-3.4/changes.html>
[...]
C/Objective-C/C++
[...]
* The undocumented extension that allowed C programs to have a
label at the end of a compound statement, which has been
deprecated since GCC 3.0, has been removed.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: cc-mode adds newlines, (continued)
Re: cc-mode adds newlines, Andries.Brouwer, 2004/11/28
Re: cc-mode adds newlines, Richard Stallman, 2004/11/30