primitives support reg output name syntax.
This commit is contained in:
parent
2f8a40b159
commit
d64295ed65
8
parse.y
8
parse.y
|
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#ifdef HAVE_CVS_IDENT
|
||||
#ident "$Id: parse.y,v 1.188 2004/01/21 03:37:12 steve Exp $"
|
||||
#ident "$Id: parse.y,v 1.189 2004/02/15 17:48:16 steve Exp $"
|
||||
#endif
|
||||
|
||||
# include "config.h"
|
||||
|
|
@ -2972,6 +2972,12 @@ udp_port_decl
|
|||
(*tmp)[0] = pp;
|
||||
$$ = tmp;
|
||||
}
|
||||
| K_reg K_output IDENTIFIER ';'
|
||||
{ PWire*pp = new PWire($3, NetNet::REG, NetNet::POUTPUT);
|
||||
svector<PWire*>*tmp = new svector<PWire*>(1);
|
||||
(*tmp)[0] = pp;
|
||||
$$ = tmp;
|
||||
}
|
||||
;
|
||||
|
||||
udp_port_decls
|
||||
|
|
|
|||
Loading…
Reference in New Issue