%union in Bison and C++

pjmlp@students.si.fct.unl.pt (Paulo Jose Pinto - LEI)
13 Jul 1998 23:49:20 -0400

          From comp.compilers

Related articles
%union in Bison and C++ pjmlp@students.si.fct.unl.pt (1998-07-13)
C++ Standard mrs@kithrup.com (1998-07-20)
Re: C++ Standard corbett@lupa.Eng.Sun.COM (1998-07-21)
| List of all articles for this month |

From: pjmlp@students.si.fct.unl.pt (Paulo Jose Pinto - LEI)
Newsgroups: comp.compilers
Date: 13 Jul 1998 23:49:20 -0400
Organization: Faculdade de Ciencias e Tecnologia, U.N.L., Portugal
Keywords: C++, yacc

    Some time ago there was a thread about using C++ classes in &union
declarations in Bison, one of the sugestion (the one that I gave) was
about declaring the fields as pointers. I have implemented a mini tutorial
regarding that solution, it's available at


    Please note that the tutorial is very brief, if you want I can make it

| Paulo Pinto, pjmlp@students.si.fct.unl.pt |
| http://students.fct.unl.pt/users/pjmlp |

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.