Xref: utzoo comp.lang.c:31998 comp.lang.c++:9618 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!samsung!uunet!software.org!burkhard From: burkhard@software.org (Neil Burkhard) Newsgroups: comp.lang.c,comp.lang.c++ Subject: Interfacing yacc/lex with C++ Message-ID: <1635@software.software.org> Date: 19 Sep 90 20:19:13 GMT Sender: news@software.org Reply-To: burkhard@software.org (Neil Burkhard) Distribution: usa Organization: Software Productivity Consortium, Herndon, Virginia Lines: 17 I'm trying to use yacc/lex in a program I'm developing in C++ using Apollo's C++ system. Can anybody shed some light on how I can have the yacc action routines invoke C++ routines? Not obvious how I can have the compiler figure out the proper names since C++ mangles them. Note: everything is in C++ (including 'main') except yacc/lex stuff. Thanks in advance for any helpful comments. -- --------------------------------------------------------------- Neil Burkhard Internet: burkhard@software.org Software Productivity Consortium Phone: 703-742-7154 2214 Rock Hill Road Herndon, VA 22070 "Just when you think you're on easy street, someone rips up the pavement"