Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!decwrl!decvax!ima!esegue!compilers-sender From: peter@aries5.waterloo.edu (Peter Bumbulis) Newsgroups: comp.compilers Subject: Re: Error messages and Yacc Message-ID: <1989Aug4.031742.672@esegue.uucp> Date: 4 Aug 89 03:17:42 GMT References: <1989Jul28.210350.3619@esegue.uucp> <1989Aug1.032302.1341@esegue.uucp> Sender: compilers-sender@esegue.uucp Reply-To: peter@aries5.waterloo.edu (Peter Bumbulis) Organization: Computer Systems Group, University of Waterloo Lines: 15 Approved: compilers@esegue.segue.bos.ma.us In article <1989Aug1.032302.1341@esegue.uucp> djones@megatest.uucp (Dave Jones) writes: > >What you really want is a message which says something like, >"Decalartion list or compound statement expected," along with a pointer >to the places in the manual where declarations and compound statements >are explained. You'd still need to do something about the default >reductions, though. > >I would be interested in hearing more ideas on this subject. In "A syntax-error-handling technique and its experimental analysis", TOPLAS 5(4):656-679, 1983, Sippu and Soisalon-Soininen discuss how to generate such messages. Peter [From peter@aries5.waterloo.edu (Peter Bumbulis)] -- -- Send compilers articles to compilers@ima.isc.com or, perhaps, Levine@YALE.EDU { decvax | harvard | yale | bbn }!ima. Meta-mail to ima!compilers-request. Please send responses to the author of the message, not the poster.