home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / programm / 5715 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.1 KB  |  28 lines

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