From 9a3e497c224072777bde1104655f678cd9d6eb56 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 18 Feb 2010 08:43:16 -0500 Subject: [PATCH] Fix specparam defaults --- src/verilog.y | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/verilog.y b/src/verilog.y index 58ba70cb4..6de86c676 100644 --- a/src/verilog.y +++ b/src/verilog.y @@ -2742,9 +2742,14 @@ specifyJunk: ; specparam_declaration: // ==IEEE: specparam_declaration - ySPECPARAM junkToSemi ';' { $$ = NULL; } + ySPECPARAM junkToSemiList ';' { $$ = NULL; } ; +junkToSemiList: + junkToSemi { } /* ignored */ + | junkToSemiList junkToSemi { } /* ignored */ + ; + junkToSemi: BISONPRE_NOT(';',yENDSPECIFY,yENDMODULE) { } | error {}