Re: inserting into tab.h, after %union

2006-12-06 Thread Jeff Inman
[this came out of an off-topic question by me.] On Dec 6, 2006, at 9:00 AM, Hans Aberg wrote: On 6 Dec 2006, at 15:31, Jeff Inman wrote: ...is there a simple way to use a C++ skeleton but to have the token enumerants generated directly into the std namespace? yy::parser::token::FOO is a

Re: inserting into tab.h, after %union

2006-12-06 Thread Jeff Inman
s there a simple way to use a C++ skeleton but to have the token enumerants generated directly into the std namespace? yy::parser::token::FOO is a mouthful. Maybe I could get halfway there with %name-prefix="std". Regards, Jeff Jeff Inman Parallel and Distributed Visualization L

Re: inserting into tab.h, after %union

2006-12-04 Thread Jeff Inman
On Dec 2, 2006, at 2:11 PM, Joel E. Denny wrote: On Sat, 2 Dec 2006, Joel E. Denny wrote: On Fri, 1 Dec 2006, Jeff Inman wrote: It seems wrong to me that the second set of "%{ ... %}", after a "%union{ ...}", should insert into the tab.cpp file, instead of into the t

inserting into tab.h, after %union

2006-12-02 Thread Jeff Inman
d "%{ %}" body, and generate everything into the tab.hpp file. Suggestions? Am I missing something? Thanks, Jeff Jeff Inman Parallel and Distributed Visualization Los Alamos National Laboratory PO Box 1663, B287 / Los Alamos, NM 87545 _