From: sater Date: Wed, 19 Mar 1986 16:14:12 +0000 (+0000) Subject: Relaxed input syntax for from STACK coercions X-Git-Tag: release-5-5~5344 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5c71bad6e1f617d2526e6d0e091bef9a4069e48f;p=ack.git Relaxed input syntax for from STACK coercions No gen clause is necessary anymore. --- diff --git a/util/ncgg/cgg.y b/util/ncgg/cgg.y index 1fca1cc0d..58c56f14e 100644 --- a/util/ncgg/cgg.y +++ b/util/ncgg/cgg.y @@ -542,11 +542,11 @@ coercdeflist coercdeflist_el : FROM {startline = lineno; tokpatlen=0; inithall();} - STACK allocates GEN genlist YIELDS tokeninstance + STACK allocates generates YIELDS tokeninstance { checkhall(); - n_coerc(0,0,$4,$6,(struct varinfo *) 0,$8); + n_coerc(0,0,$4,$5,(struct varinfo *) 0,$7); freevi($4); - freevi($6); + freevi($5); } | FROM {startline = lineno;}