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 accept struct { ... } __packed name;



details:   https://anonhg.NetBSD.org/src/rev/f191c9fa21a8
branches:  trunk
changeset: 747841:f191c9fa21a8
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 03 01:35:20 2009 +0000

description:
accept struct { ... } __packed name;

diffstat:

 usr.bin/xlint/lint1/cgram.y |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r d5d6a8e397be -r f191c9fa21a8 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y       Sat Oct 03 01:30:25 2009 +0000
+++ b/usr.bin/xlint/lint1/cgram.y       Sat Oct 03 01:35:20 2009 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.46 2009/10/02 19:01:13 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.47 2009/10/03 01:35:20 christos 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.46 2009/10/02 19:01:13 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.47 2009/10/03 01:35:20 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -684,6 +684,7 @@
        | noclass_declmods typespec {
                addtype($2);
          }
+       | noclass_declspecs type_attribute
        | noclass_declspecs T_QUAL {
                addqual($2);
          }



Home | Main Index | Thread Index | Old Index