From: Paul Eggert Date: Sat, 12 Oct 2002 23:18:52 +0000 (+0000) Subject: (b4_token_enum): Do not define YYTOKENTYPE. X-Git-Tag: BISON-1_75~37 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/095b9f05c31c566e3b4262d67c69976949ec747c (b4_token_enum): Do not define YYTOKENTYPE. --- diff --git a/data/c.m4 b/data/c.m4 index 1eca2e92..21145a17 100644 --- a/data/c.m4 +++ b/data/c.m4 @@ -107,8 +107,7 @@ m4_define([b4_token_enum], m4_define([b4_token_defines], [m4_if([$@], [[]], [], [/* Tokens. */ -#ifndef YYTOKENTYPE -# if defined (__STDC__) || defined (__cplusplus) +#if defined (__STDC__) || defined (__cplusplus) /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { @@ -116,10 +115,7 @@ m4_map_sep([ b4_token_enum], [, ], [$@]) }; -# endif - /* POSIX requires `int' for tokens in interfaces. */ -# define YYTOKENTYPE int -#endif /* !YYTOKENTYPE */ +#endif m4_map([b4_token_define], [$@]) ]) ])