Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 c99: do not warn about trailing comma in...
details: https://anonhg.NetBSD.org/src/rev/8220b56ec19d
branches: trunk
changeset: 772126:8220b56ec19d
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Dec 19 16:52:27 2011 +0000
description:
c99: do not warn about trailing comma in enum declaration.
diffstat:
usr.bin/xlint/lint1/cgram.y | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 41a361ad63a1 -r 8220b56ec19d usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Mon Dec 19 16:10:07 2011 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Mon Dec 19 16:52:27 2011 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.50 2011/10/04 16:19:59 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.51 2011/12/19 16:52:27 njoly Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.50 2011/10/04 16:19:59 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.51 2011/12/19 16:52:27 njoly Exp $");
#endif
#include <stdlib.h>
@@ -808,7 +808,7 @@
error(54);
} else {
/* trailing "," prohibited in enum declaration */
- (void)gnuism(54);
+ c99ism(54);
}
$$ = $1;
}
Home |
Main Index |
Thread Index |
Old Index