Module Name:    src
Committed By:   christos
Date:           Sat Oct  3 17:09:18 UTC 2009

Modified Files:
        src/usr.bin/xlint/lint1: cgram.y

Log Message:
add type attributes in a few more places.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 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.47 src/usr.bin/xlint/lint1/cgram.y:1.48
--- src/usr.bin/xlint/lint1/cgram.y:1.47	Fri Oct  2 21:35:20 2009
+++ src/usr.bin/xlint/lint1/cgram.y	Sat Oct  3 13:09:18 2009
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.47 2009/10/03 01:35:20 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.48 2009/10/03 17:09:18 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.47 2009/10/03 01:35:20 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.48 2009/10/03 17:09:18 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -684,13 +684,13 @@
 	| noclass_declmods typespec {
 		addtype($2);
 	  }
-	| noclass_declspecs type_attribute
 	| noclass_declspecs T_QUAL {
 		addqual($2);
 	  }
 	| noclass_declspecs notype_typespec {
 		addtype($2);
 	  }
+	| noclass_declspecs type_attribute
 	;
 
 noclass_declmods:
@@ -903,6 +903,7 @@
 		popdecl();
 		blklev--;
 	  }
+	| notype_direct_decl type_attribute
 	;
 
 type_decl:
@@ -932,6 +933,7 @@
 		popdecl();
 		blklev--;
 	  }
+	| type_direct_decl type_attribute
 	;
 
 /*
@@ -1285,6 +1287,7 @@
 		popdecl();
 		blklev--;
 	  }
+	| direct_abs_decl type_attribute
 	;
 
 non_expr_stmnt:

Reply via email to