[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison %union and C++
From: |
Oleg Smolsky |
Subject: |
bison %union and C++ |
Date: |
Tue, 24 Sep 2002 12:14:57 +1200 |
Hello there,
here is a question that is probably asked for a millionth time....
But, I have done a lot of googling - honestly :)
Anyway, with bison 1.49b and C++ skeleton, how do I include a C++
class into the bison's types? In theory, I would like to add
std::string into the %union section, but this is prohibited by ANSI
C++.
So, is there any way to get bison to store one of my objects on its
stack?
Thanks in advance,
Oleg Smolsky
- bison %union and C++,
Oleg Smolsky <=