help-bison
[Top][All Lists]
Advanced

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

Possible to change name of enum yytokentype?


From: Frans Englich
Subject: Possible to change name of enum yytokentype?
Date: Fri, 10 Feb 2006 17:13:03 +0000
User-agent: KMail/1.8.50

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?

<quote>
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype { <<<<<<<<<< I want to change the name of that one
     LITERAL = 258,
      ...
</quote>
 

Thanks in advance,

                Frans




reply via email to

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