[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use C++ types in '%union declaration'
From: |
Joel E. Denny |
Subject: |
Re: How to use C++ types in '%union declaration' |
Date: |
Sat, 24 Feb 2007 13:49:26 -0500 (EST) |
On Sat, 24 Feb 2007, Bob Rossi wrote:
> How come if I do
>
> %union {
> std::string *foo;
> }
>
> I get,
> error: expected specifier-qualifier-list before ‘std’
This doesn't happen to me. Can you post a small but complete grammar file
that demonstrates this? Thanks.
Re: How to use C++ types in '%union declaration', Hans Aberg, 2007/02/24