On Fri, 10 Feb 2006, Frans Englich wrote:

> On Friday 10 February 2006 17:13, Frans Englich wrote:
> > Hi all,
> >
> > Is it possible to change the name of the yytokentype enum? In my case, I
> > would rather have it named TokenType. What is the easiest way of achieving
> > that?

Would a simple typedef serve your purpose?

> Also, why is the defines provides in addition to the enum?

For POSIX yacc.

> In this way one 
> cannot actually use the enum since the defines kicks in. Is there anyway to 
> make it not put the defines there, but only the enum?

We've been discussing getting rid of the #define's when not using --yacc, 
but nothing has been decided yet.  You could try writing a sed script in 
the meantime.

Joel


_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to