primitives support reg output name syntax.

This commit is contained in:
steve 2004-02-15 17:48:16 +00:00
parent 2f8a40b159
commit d64295ed65
1 changed files with 7 additions and 1 deletions

View File

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