Module Name: src
Committed By: christos
Date: Sat Oct 3 01:35:20 UTC 2009
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
accept struct { ... } __packed name;
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/xlint/lint1/cgram.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/lint1/cgram.y
diff -u src/usr.bin/xlint/lint1/cgram.y:1.46 src/usr.bin/xlint/lint1/cgram.y:1.47
--- src/usr.bin/xlint/lint1/cgram.y:1.46 Fri Oct 2 15:01:13 2009
+++ src/usr.bin/xlint/lint1/cgram.y Fri Oct 2 21:35:20 2009
@@ -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);
}