delay1 expressions can take parentheses.

This commit is contained in:
steve 1999-12-31 17:39:00 +00:00
parent 94afe54741
commit 31f1ceea9f
1 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: parse.y,v 1.78 1999/12/31 03:24:31 steve Exp $"
#ident "$Id: parse.y,v 1.79 1999/12/31 17:39:00 steve Exp $"
#endif
# include "parse_misc.h"
@ -281,6 +281,11 @@ delay1
(*tmp)[0] = $2;
$$ = tmp;
}
| '#' '(' delay_value ')'
{ svector<PExpr*>*tmp = new svector<PExpr*>(1);
(*tmp)[0] = $3;
$$ = tmp;
}
;
delay3