107 |
m4_define([b4_token_defines], |
m4_define([b4_token_defines], |
108 |
[m4_if([$@], [[]], [], |
[m4_if([$@], [[]], [], |
109 |
[/* Tokens. */ |
[/* Tokens. */ |
110 |
#ifndef YYTOKENTYPE |
#if defined (__STDC__) || defined (__cplusplus) |
|
# if defined (__STDC__) || defined (__cplusplus) |
|
111 |
/* Put the tokens into the symbol table, so that GDB and other debuggers |
/* Put the tokens into the symbol table, so that GDB and other debuggers |
112 |
know about them. */ |
know about them. */ |
113 |
enum yytokentype { |
enum yytokentype { |
115 |
], |
], |
116 |
[$@]) |
[$@]) |
117 |
}; |
}; |
118 |
# endif |
#endif |
|
/* POSIX requires `int' for tokens in interfaces. */ |
|
|
# define YYTOKENTYPE int |
|
|
#endif /* !YYTOKENTYPE */ |
|
119 |
m4_map([b4_token_define], [$@]) |
m4_map([b4_token_define], [$@]) |
120 |
]) |
]) |
121 |
]) |
]) |