From 2ceb0539afd73949da8b73388c460a804ed3de2e Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 16 Jul 2008 13:58:16 -0700 Subject: [PATCH] IVL_VT_LOGIC is default localparam type not IVL_VT_NO_TYPE This patch fixes a bug where a local parameter with only a range was incorrectly setting the default parameter type to IVL_VT_NO_TYPE. This would create a compile time assert for any untyped parameter/localparam immediately following it. --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.y b/parse.y index f63ee1d9b..c97dae85b 100644 --- a/parse.y +++ b/parse.y @@ -2519,7 +2519,7 @@ localparam_assign_decl localparam_assign_list { param_active_range = 0; param_active_signed = false; - param_active_type = IVL_VT_NO_TYPE; + param_active_type = IVL_VT_LOGIC; } | K_signed range { param_active_range = $2;