X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/435575cb5e28bfc20263413e837c24a95373b3d4..cc8962bdde81b04aa728aef21e53b4a08a0debfe:/data/glr.c?ds=sidebyside diff --git a/data/glr.c b/data/glr.c index 7ab38235..ff70890f 100644 --- a/data/glr.c +++ b/data/glr.c @@ -246,13 +246,6 @@ b4_percent_code_get[]dnl # endif #endif -/* Suppress unused-variable warnings by "using" E. */ -#ifdef __GNUC__ -# define YYUSE(E) ((void) (E)) -#else -# define YYUSE(E) /* empty */ -#endif - #ifndef YYFREE # define YYFREE free #endif @@ -281,17 +274,7 @@ b4_percent_code_get[]dnl # define YYLONGJMP(Env, Val) (longjmp (Env, Val), YYASSERT (0)) #endif -/*-----------------. -| GCC extensions. | -`-----------------*/ - -#ifndef __attribute__ -/* This feature is available in gcc versions 2.5 and later. */ -# if (! defined __GNUC__ || __GNUC__ < 2 \ - || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)) -# define __attribute__(Spec) /* empty */ -# endif -#endif +]b4_attribute_define[ #ifndef YYASSERT # define YYASSERT(Condition) ((void) ((Condition) || (abort (), 0)))