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.
This commit is contained in:
Cary R 2008-07-16 13:58:16 -07:00 committed by Stephen Williams
parent f9c67e21b2
commit 2ceb0539af
1 changed files with 1 additions and 1 deletions

View File

@ -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;