Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!spdcc!ima!compilers-sender From: hp-sdd!najmi@hpcuhb.HP.COM (Farrukh Najmi) Newsgroups: comp.compilers Subject: I need answer to a simple YACC question. Message-ID: <3281@ima.ima.isc.com> Date: 3 Feb 89 21:15:38 GMT Sender: compilers-sender@ima.ima.isc.com Reply-To: hp-sdd!najmi@hpcuhb.HP.COM (Farrukh Najmi) Organization: Hewlett Packard, Cupertino Lines: 18 Approved: compilers@ima.UUCP I would appreciate some help with a YACC related question. I know I can look at the y.output (on HPUX anyways) to find the productions in each state's LALR(1) items. However I want to find the lookahead set for a given production for a given state. In other words I need to know how I can get the lookahead portion of the LALR(1) item by looking at YACC generated files. Thanks in advance for any help. Farrukh Najmi. [From hp-sdd!najmi@hpcuhb.HP.COM (Farrukh Najmi)] -- Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.EDU Plausible paths are { decvax | harvard | yale | bbn}!ima Please send responses to the originator of the message -- I cannot forward mail accidentally sent back to compilers. Meta-mail to ima!compilers-request