help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: tokens?


From: Mark Weaver
Subject: RE: tokens?
Date: Mon, 10 Nov 2003 15:38:36 -0000

> I have a question regarding the header-generating option of
> bison++ (-d). Do
> I need to specify any other options to be able to read the definitions of
> tokens in the header file? I thought just including "parse.h"
> ought to do the
> trick? The definitions of the tokens NAME and NUMBER are in the
> header file,
> but there's a whole bunch of #ifdef and #ifndefs in front...
>
Not sure where you are getting these from -- my version of bison (1.25) has
no #ifdefs in the output header file.  Might be worth checking the bison
documentation for your version to see what these generated #ifdefs are, and
if no clue, try posting the generated header file.

Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]