Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!mucs!jk From: jk@cs.man.ac.uk (John Kewley ICL) Newsgroups: comp.lang.c Subject: yaccpar Summary: using alternative yaccpars Message-ID: <1920@m1.cs.man.ac.uk> Date: 16 Nov 90 10:23:10 GMT Sender: news@cs.man.ac.uk Reply-To: jk@cs.man.ac.uk (John Kewley ICL) Organization: Department of Computer Science, University of Manchester UK Lines: 19 Is there any way to persuade yacc to use an alternative yaccpar (for better diagnostics) other than the following two hacks: 1. Binary edit yacc to read in /my/own/yaccpar instead o /default/yaccpar. 2. Post-fix y.tab.c to remove added yaccpar and put in new one. 3. Copy new yaccpar on top of old one. #include "MP Spanish Inquisition sketch" I am using yacc++, SunOS 2.0 C++ compatible yacc. Any suggestions to use bison, buffalo, heifer or cow will be treated as *bull*. -- J.K. John M. Kewley, ICL, Wenlock Way, West Gorton, Manchester. M12 5DR Tel: (+44) 61 223 1301 X2138 Email: jk@r6.cs.man.ac.uk / jk@nw.stl.stc.co.uk