Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!brutus.cs.uiuc.edu!wuarchive!texbell!nuchat!moray!siswat!buck From: buck@siswat.UUCP (A. Lester Buck) Newsgroups: comp.lang.c Subject: modifications to yyparse for re-entrancy Keywords: yacc parser yyparse re-entrant Message-ID: <493@siswat.UUCP> Date: 1 Feb 90 06:59:33 GMT Organization: Photon Graphics, Houston Lines: 15 I have an application that has four parsers using the same yacc grammar. I generate four full copies of yyparse and globally replace conflicting symbols. Now I am interested in reducing code size by sharing as much of yyparse as possible between the four parsers. Does anyone have any advice or tricks for converting yyparse into a re-entrant form? I was thinking of information such as a list of variables and data structures that must be kept private. I will summarize whatever I learn if there is any interest. Thanks alot! -- A. Lester Buck buck@siswat.lonestar.org ...!texbell!moray!siswat!buck