[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Where are there both yytokentype and the corresponding macro definitions
From: |
Peng Yu |
Subject: |
Where are there both yytokentype and the corresponding macro definitions? |
Date: |
Thu, 7 Feb 2019 10:43:09 -0600 |
Hi,
I see both yytokentype and the corresponding macro definitions in
y.tab.h. It sounds like just one of them will be sufficient. Why are
there both of them?
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
IF = 258,
/* Tokens. */
#define IF 258
--
Regards,
Peng
- Where are there both yytokentype and the corresponding macro definitions?,
Peng Yu <=