]> git.saurik.com Git - bison.git/blobdiff - lib/main.c
%union: fix the support for named %union
[bison.git] / lib / main.c
index b252f58da060118aa550e491bba727f909a393ee..b905bb11956ff7b57a843053183481c130684658 100644 (file)
@@ -1,6 +1,6 @@
 /* Yacc library main function.
 
 /* Yacc library main function.
 
-   Copyright (C) 2002, 2009-2011 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2009-2015 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
 
    This file is part of Bison, the GNU Compiler Compiler.
 
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
-
-#if HAVE_LOCALE_H
-# include <locale.h>
-#endif
-#if ! HAVE_SETLOCALE
-# define setlocale(Category, Locale)
-#endif
+#include <locale.h>
 
 int yyparse (void);
 
 
 int yyparse (void);