home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!puc.cl!mat.puc.cl!coryan
- From: coryan@mat.puc.cl (Carlos O'Ryan Lira)
- Subject: Using yacc several times.... (FAQ?)
- Message-ID: <1992Dec16.161102.8123@tolten.puc.cl>
- Sender: news@tolten.puc.cl (News Manager)
- Nntp-Posting-Host: tarski.mat.puc.cl
- Organization: Pontificia Universidad Catolica de Chile
- Date: Wed, 16 Dec 1992 16:11:02 GMT
- Lines: 16
-
- Hi,
- I haven't found a FAQ, so if this is on it please let me know.
- I want (need) to use several grammars on the same programs, I could use
- one big *.y with all of them on it but I rather preffer to have several *.y and
- then link them together, Can this be done? Is is portable? I know yacc accepts
- a -p flag that let's you change the yy preffix, however this doesn't seems to be
- enough, there are some static arrays that keep the same name on all the files,
- this seems to be related with the use of yywrap(), Do I have any hope? Is
- bison of any help on this situation?
-
- Thanks.
-
- --
- Carlos O'Ryan Lira
- Departamento de Matematicas, Pontificia Universidad Catolica de Chile
- E-mail: coryan@mat.puc.cl, coryan@numero1.puc.cl
-