Handle more path polarity cases.

This commit is contained in:
steve 2001-08-31 21:08:35 +00:00
parent 47031767fa
commit c507379f09
1 changed files with 15 additions and 17 deletions

32
parse.y
View File

@ -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
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: parse.y,v 1.127 2001/08/31 17:38:41 steve Exp $" #ident "$Id: parse.y,v 1.128 2001/08/31 21:08:35 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -1914,22 +1914,20 @@ specify_edge_path_decl
; ;
specify_edge_path specify_edge_path
: '(' K_posedge specify_path_identifiers spec_polarity : '(' K_posedge specify_path_identifiers spec_polarity K_EG IDENTIFIER ')'
K_EG IDENTIFIER ')' | '(' K_posedge specify_path_identifiers spec_polarity K_EG '(' IDENTIFIER polarity_operator expression ')' ')'
| '(' K_posedge specify_path_identifiers spec_polarity | '(' K_posedge specify_path_identifiers spec_polarity K_SG IDENTIFIER ')'
K_EG '(' IDENTIFIER K_PO_POS expression ')' ')' | '(' K_posedge specify_path_identifiers spec_polarity K_SG '(' IDENTIFIER polarity_operator expression ')' ')'
| '(' K_posedge specify_path_identifiers spec_polarity | '(' K_negedge specify_path_identifiers spec_polarity K_EG IDENTIFIER ')'
K_SG IDENTIFIER ')' | '(' K_negedge specify_path_identifiers spec_polarity K_EG '(' IDENTIFIER polarity_operator expression ')' ')'
| '(' K_posedge specify_path_identifiers spec_polarity | '(' K_negedge specify_path_identifiers spec_polarity K_SG IDENTIFIER ')'
K_SG '(' IDENTIFIER K_PO_POS expression ')' ')' | '(' K_negedge specify_path_identifiers spec_polarity K_SG '(' IDENTIFIER polarity_operator expression ')' ')'
| '(' K_negedge specify_path_identifiers spec_polarity ;
K_EG IDENTIFIER ')'
| '(' K_negedge specify_path_identifiers spec_polarity polarity_operator
K_EG '(' IDENTIFIER K_PO_POS expression ')' ')' : K_PO_POS
| '(' K_negedge specify_path_identifiers spec_polarity | K_PO_NEG
K_SG IDENTIFIER ')' | ':'
| '(' K_negedge specify_path_identifiers spec_polarity
K_SG '(' IDENTIFIER K_PO_POS expression ')' ')'
; ;
specify_simple_path_decl specify_simple_path_decl