| Related articles |
|---|
| multi-language parsing by using yacc pliang@msmail4.HAC.COM (Peter Liang) (1995-08-13) |
| Re: multi-language parsing by using yacc simmons@bnr.ca (steve (s.s.) simmons) (1995-08-17) |
| Re: multi-language parsing by using yacc erik@kroete2.freinet.de (1995-08-21) |
| Re: multi-language parsing by using yacc ctv@cs.vu.nl (Cees Visser) (1995-08-21) |
| Re: multi-language parsing by using yacc bobduff@world.std.com (1995-08-21) |
| multi-language parsing by using yacc 75066.3204@CompuServe.COM (Carl Barron) (1995-08-22) |
| Newsgroups: | comp.compilers |
| From: | Carl Barron <75066.3204@CompuServe.COM> |
| Keywords: | yacc |
| Organization: | CompuServe, Inc. (1-800-689-0736) |
| References: | 95-08-097 |
| Date: | Tue, 22 Aug 1995 11:39:31 GMT |
Berkeley PD yacc version 1.9 has a -p optiion. -p prefix
Change the default prefix yy to prefix for generated symbols.
Flex 2.5.2 has a similiar option -P. You will need a lexer or each parser
as byacc -p aa foo.y will be looking for aalex() not yylex(). All
those globals yy* are aa* with this invocation.
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.