X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ae93128c9671b58bdc2b557c382ecd84e659ab52..3320a276d2f3db721a2bc2a34b40218e6bfb0b7f:/data/glr.c diff --git a/data/glr.c b/data/glr.c index e73b2510..bb0f6d7f 100644 --- a/data/glr.c +++ b/data/glr.c @@ -1,8 +1,7 @@ -*- C -*- # GLR skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free -# Software Foundation, Inc. +# Copyright (C) 2002-2010 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -158,7 +157,7 @@ m4_changecom() m4_divert_push(0)dnl @output(b4_parser_file_name@)@ b4_copyright([Skeleton implementation for Bison GLR parsers in C], - [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009]) + [2002-2010]) [ /* C GLR parser skeleton written by Paul Hilfinger. */ @@ -318,7 +317,8 @@ b4_percent_code_get[]dnl #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ # if (! defined __GNUC__ || __GNUC__ < 2 \ - || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__) + || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) \ + || (defined __STRICT_ANSI__ && __STRICT_ANSI__)) # define __attribute__(Spec) /* empty */ # endif #endif @@ -2578,7 +2578,7 @@ m4_if(b4_skeleton, ["glr.c"], [b4_defines_if( [@output(b4_spec_defines_file@)@ b4_copyright([Skeleton interface for Bison GLR parsers in C], - [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009]) + [2002-2010]) b4_shared_declarations