Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!world!iecc!compilers-sender From: scott@bbxsda.UUCP (Scott Amspoker) Newsgroups: comp.compilers Subject: Re: Parser Error Detection and Recovery Keywords: yacc, errors, debug Message-ID: <1796@bbxsda.UUCP> Date: 28 Mar 91 21:32:03 GMT References: <9103211951.AA01615@fiu.edu> <16273@prometheus.megatest.UUCP> Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: scott@bbxsda.UUCP (Scott Amspoker) Organization: Basis International, Albuquerque, NM Lines: 17 Approved: compilers@iecc.cambridge.ma.us In article <16273@prometheus.megatest.UUCP> djones@megatest.com (Dave Jones) writes: >However, the original yacc has a bug related to default-reductions which >makes proper error-recovery impossible: It creates states with default >reductions and a shift-action on "error". The bug is a typo. ... That might explain some problems I've been having. Can somebody post (or mail) a short yacc file that demonstrates the problem? I need to determine if the yacc I am using has this bug. -- Scott Amspoker Basis International, Albuquerque, NM (505) 345-5232 unmvax.cs.unm.edu!bbx!bbxsda!scott -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.