Relaxed input syntax for from STACK coercions

No gen clause is necessary anymore.
This commit is contained in:
sater 1986-03-19 16:14:12 +00:00
parent ea73b04ef3
commit 5c71bad6e1

View file

@ -542,11 +542,11 @@ coercdeflist
coercdeflist_el coercdeflist_el
: FROM : FROM
{startline = lineno; tokpatlen=0; inithall();} {startline = lineno; tokpatlen=0; inithall();}
STACK allocates GEN genlist YIELDS tokeninstance STACK allocates generates YIELDS tokeninstance
{ checkhall(); { checkhall();
n_coerc(0,0,$4,$6,(struct varinfo *) 0,$8); n_coerc(0,0,$4,$5,(struct varinfo *) 0,$7);
freevi($4); freevi($4);
freevi($6); freevi($5);
} }
| FROM | FROM
{startline = lineno;} {startline = lineno;}