V0.8: ignore ifnone in specify block

In specify blocks ignore the ifnone command.
This commit is contained in:
Cary R 2007-12-21 18:15:38 -08:00 committed by Stephen Williams
parent 5dc4202929
commit a8f68fe416
2 changed files with 5 additions and 1 deletions

View File

@ -44,6 +44,7 @@ function, K_function
highz0, K_highz0
highz1, K_highz1
if, K_if
ifnone, K_ifnone
initial, K_initial
inout, K_inout
input, K_input

View File

@ -136,7 +136,7 @@ const static struct str_pair_t str_strength = { PGate::STRONG, PGate::STRONG };
%token K_casex K_casez K_cmos K_deassign K_default K_defparam K_disable
%token K_edge K_else K_end K_endcase K_endfunction K_endmodule
%token K_endprimitive K_endspecify K_endtable K_endtask K_event K_for
%token K_force K_forever K_fork K_function K_highz0 K_highz1 K_if
%token K_force K_forever K_fork K_function K_highz0 K_highz1 K_if K_ifnone
%token K_initial K_inout K_input K_integer K_join K_large K_localparam
%token K_macromodule
%token K_medium K_module K_nand K_negedge K_nmos K_nor K_not K_notif0
@ -2308,6 +2308,9 @@ specify_item
| K_if '(' expression ')' specify_edge_path_decl ';'
{
}
| K_ifnone specify_simple_path_decl ';'
{
}
| K_Shold '(' spec_reference_event ',' spec_reference_event
',' delay_value spec_notifier_opt ')' ';'
{ delete $7;