Parse specify ifnone statements.
This commit is contained in:
parent
a978bb1e14
commit
4dd1308eb0
|
|
@ -48,6 +48,7 @@ genvar, K_genvar
|
||||||
highz0, K_highz0
|
highz0, K_highz0
|
||||||
highz1, K_highz1
|
highz1, K_highz1
|
||||||
if, K_if
|
if, K_if
|
||||||
|
ifnone, K_ifnone
|
||||||
initial, K_initial
|
initial, K_initial
|
||||||
inout, K_inout
|
inout, K_inout
|
||||||
input, K_input
|
input, K_input
|
||||||
|
|
|
||||||
7
parse.y
7
parse.y
|
|
@ -19,7 +19,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#ifdef HAVE_CVS_IDENT
|
||||||
#ident "$Id: parse.y,v 1.214 2006/04/16 00:15:43 steve Exp $"
|
#ident "$Id: parse.y,v 1.215 2006/04/17 04:35:49 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
|
@ -140,7 +140,7 @@ const static struct str_pair_t str_strength = { PGate::STRONG, PGate::STRONG };
|
||||||
%token K_edge K_else K_end K_endcase K_endfunction K_endgenerate K_endmodule
|
%token K_edge K_else K_end K_endcase K_endfunction K_endgenerate K_endmodule
|
||||||
%token K_endprimitive K_endspecify K_endtable K_endtask K_event K_for
|
%token K_endprimitive K_endspecify K_endtable K_endtask K_event K_for
|
||||||
%token K_force K_forever K_fork K_function K_generate K_genvar
|
%token K_force K_forever K_fork K_function K_generate K_genvar
|
||||||
%token K_highz0 K_highz1 K_if
|
%token 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_initial K_inout K_input K_integer K_join K_large K_localparam
|
||||||
%token K_logic K_macromodule
|
%token K_logic K_macromodule
|
||||||
%token K_medium K_module K_nand K_negedge K_nmos K_nor K_not K_notif0
|
%token K_medium K_module K_nand K_negedge K_nmos K_nor K_not K_notif0
|
||||||
|
|
@ -2420,6 +2420,9 @@ specify_item
|
||||||
| K_if '(' expression ')' specify_edge_path_decl ';'
|
| K_if '(' expression ')' specify_edge_path_decl ';'
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
| K_ifnone specify_simple_path_decl ';'
|
||||||
|
{
|
||||||
|
}
|
||||||
| K_Shold '(' spec_reference_event ',' spec_reference_event
|
| K_Shold '(' spec_reference_event ',' spec_reference_event
|
||||||
',' delay_value spec_notifier_opt ')' ';'
|
',' delay_value spec_notifier_opt ')' ';'
|
||||||
{ delete $7;
|
{ delete $7;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue