Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/xlint allow trailing , in enum if -g



details:   https://anonhg.NetBSD.org/src/rev/82926bbdb550
branches:  trunk
changeset: 510261:82926bbdb550
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu May 24 11:58:09 2001 +0000

description:
allow trailing , in enum if -g

diffstat:

 usr.bin/xlint/xlint/lint.1 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 031afbf7eba4 -r 82926bbdb550 usr.bin/xlint/xlint/lint.1
--- a/usr.bin/xlint/xlint/lint.1        Thu May 24 11:56:36 2001 +0000
+++ b/usr.bin/xlint/xlint/lint.1        Thu May 24 11:58:09 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lint.1,v 1.16 2001/04/29 12:02:45 lukem Exp $
+.\" $NetBSD: lint.1,v 1.17 2001/05/24 11:58:09 lukem Exp $
 .\"
 .\" Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
 .\" Copyright (c) 1994, 1995 Jochen Pohl
@@ -30,7 +30,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 28, 1994
+.Dd May 24, 2001
 .Dt LINT 1
 .Os
 .Sh NAME
@@ -241,9 +241,11 @@
 .Xr gcc 1
 to the C language. Currently these are nonconstant initializers in
 automatic aggregate initializations, arithmetic on pointer to void,
+trailing commas in enum declarations,
 zero sized structures, subscripting of non-lvalue arrays, prototypes
 overriding old style function declarations and long long
-integer types. The
+integer types.
+The
 .Fl g
 flag also turns on the keywords
 .Sy asm



Home | Main Index | Thread Index | Old Index