Message-ID: <3776932E.7CBB5EEC@unb.ca> From: Endlisnis Organization: Nortel Networks X-Mailer: Mozilla 4.51 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Bison help References: <3775E3B1 DOT EC5991C AT hotmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 Date: Sun, 27 Jun 1999 21:09:34 GMT NNTP-Posting-Host: 209.226.124.235 X-Trace: news20.bellglobal.com 930517774 209.226.124.235 (Sun, 27 Jun 1999 17:09:34 EDT) NNTP-Posting-Date: Sun, 27 Jun 1999 17:09:34 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Denis Lamarche wrote: > I am trying to get bison to accept multiple parameter functions. Does > anyone know how to do this? I got single params to wolk by looking at > the calc exemple in the info files, but multiple doesnt work that way. Couldn't you just do something like this: exp: FUNC2 '(' exp ',' exp ')' {$$ = func2($3,$5);} -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT HotMail DOT com ICQ: 32959047