Path: utzoo!attcan!uunet!husc6!mailrus!cornell!blandy From: blandy@marduk.cs.cornell.edu (Jim Blandy) Newsgroups: comp.lang.c Subject: Re: yacc with multiple attributes Message-ID: <19539@cornell.UUCP> Date: 23 Jul 88 08:40:20 GMT References: <16345@brl-adm.ARPA> <838@garth.UUCP> <18773@cornell.UUCP> <859@garth.UUCP> <18840@cornell.UUCP> <368@ucrmath.UUCP> Sender: nobody@cornell.UUCP Reply-To: blandy@cs.cornell.edu (Jim Blandy) Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 11 For the purpose of perhaps making things more coherent: I messed up on the posting; Mike's sample productions are what I meant to post. The point to note is that it is useful to give the semantic action a name (by associating it with an epsilon production and then using the production in place of the action) so that yacc does not feel the need to differentiate between two productions we humans know to be equivalent. -- Jim Blandy - blandy@crnlcs.bitnet "insects were insects when man was just a burbling whatisit." - archy