From 82808d8b5db10ef23b20b004b0ade5fb66e0ab20 Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 23 Mar 2007 19:31:22 +0000 Subject: [PATCH] Parse attribute attached to block items. --- parse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parse.y b/parse.y index 803ee4384..8cebf1e25 100644 --- a/parse.y +++ b/parse.y @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: parse.y,v 1.201.2.5 2006/12/03 04:58:20 steve Exp $" +#ident "$Id: parse.y,v 1.201.2.6 2007/03/23 19:31:22 steve Exp $" #endif # include "config.h" @@ -1038,7 +1038,7 @@ function_item $$ = tmp; yyerror(@1, "Functions may not have inout ports."); } - | block_item_decl + | attribute_list_opt block_item_decl { $$ = 0; } ; @@ -1585,7 +1585,7 @@ module_item /* block_item_decl rule is shared with task blocks and named begin/end. */ - | block_item_decl + | attribute_list_opt block_item_decl /* */