[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %union with STL
From: |
Hans Aberg |
Subject: |
Re: %union with STL |
Date: |
Wed, 27 May 2009 23:45:21 +0200 |
On 27 May 2009, at 20:52, Akim Demaille wrote:
You will be able to do that in Bison 2.6. A preview is available at
http://www.lrde.epita.fr/~akim/download/bison-2.4.266-4ff3b.tar.bz2
Using that version, you can use actual objects (not pointers to), as
in the attached sample file.
...
<variant.yy>
Looks nice, but I got linker errors - a header missing somewhere :-).
I used
bison variant.yy
gcc variant.tab.cc -o variant > error.txt 2>&1
bison --version
bison (GNU Bison) 2.4.266-4ff3b
with gcc of Xcode 3.1.2, Mac OS X 10.5.7 PPC G4:
gcc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
Hans
error.txt
Description: Text document
- Re: %union with STL, (continued)
- Re: %union with STL, Luca, 2009/05/24
- Re: %union with STL, Tommy Nordgren, 2009/05/24
- Re: %union with STL, Hans Aberg, 2009/05/24
- Re: %union with STL, Luca, 2009/05/25
- Re: %union with STL, Hans Aberg, 2009/05/25
- Re: %union with STL, Luca, 2009/05/26
- Re: %union with STL, Hans Aberg, 2009/05/26
- Re: %union with STL, Vincent Zweije, 2009/05/27
- Re: %union with STL, Hans Aberg, 2009/05/27
- Re: %union with STL, Akim Demaille, 2009/05/27
- Re: %union with STL,
Hans Aberg <=
- Re: %union with STL, Hans Aberg, 2009/05/29
Re: %union with STL, Hans Aberg, 2009/05/24