]> git.saurik.com Git - bison.git/commitdiff
(yysigned_char): New type.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Oct 2002 08:06:06 +0000 (08:06 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Oct 2002 08:06:06 +0000 (08:06 +0000)
data/glr.c
data/yacc.c

index 3c69ac826075110d532d1158dfd9db4ebfb195fe..a133108455d2e3d356c9659b5bb7d06e51071369 100644 (file)
@@ -198,6 +198,12 @@ static YYLTYPE yyloc_default;
 #  define yyfalse 0
 #endif
 
+#if defined (__STDC__) || defined (__cplusplus)
+   typedef signed char yysigned_char;
+#else
+   typedef short yysigned_char;
+#endif
+
 /*-----------------.
 | GCC extensions.  |
 `-----------------*/
index cb690bb72888301f88a585d52e628e1f98492ace..cf90c82708236fe930eef7178678f340a82a1c13 100644 (file)
@@ -307,6 +307,12 @@ b4_location_if(
 
 #endif
 
+#if defined (__STDC__) || defined (__cplusplus)
+   typedef signed char yysigned_char;
+#else
+   typedef short yysigned_char;
+#endif
+
 /* YYFINAL -- State number of the termination state. */
 #define YYFINAL  b4_final_state_number
 #define YYLAST   b4_last