From 2e78aa5a78d67d8bd5ef90bb89d01fc82faadc8a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 7 May 2016 01:11:14 -0700 Subject: util/sconfig: Fix warnings and re-generate _shipped files Change-Id: I7a18824d64d3f6212e8566695376bf97e2196ee2 Signed-off-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/14733 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- util/sconfig/sconfig.tab.h_shipped | 99 +++++++++++++++++++++----------------- 1 file changed, 56 insertions(+), 43 deletions(-) (limited to 'util/sconfig/sconfig.tab.h_shipped') diff --git a/util/sconfig/sconfig.tab.h_shipped b/util/sconfig/sconfig.tab.h_shipped index 150906e745..1696b0e605 100644 --- a/util/sconfig/sconfig.tab.h_shipped +++ b/util/sconfig/sconfig.tab.h_shipped @@ -1,19 +1,19 @@ -/* A Bison parser, made by GNU Bison 2.5. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. - + + Copyright (C) 1984, 1989-1990, 2000-2015 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 the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -26,50 +26,58 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +#ifndef YY_YY_SCONFIG_TAB_H_SHIPPED_INCLUDED +# define YY_YY_SCONFIG_TAB_H_SHIPPED_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif -/* Tokens. */ +/* Token type. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - CHIP = 258, - DEVICE = 259, - REGISTER = 260, - BOOL = 261, - BUS = 262, - RESOURCE = 263, - END = 264, - EQUALS = 265, - HEX = 266, - STRING = 267, - PCI = 268, - PNP = 269, - I2C = 270, - APIC = 271, - CPU_CLUSTER = 272, - CPU = 273, - DOMAIN = 274, - IRQ = 275, - DRQ = 276, - IO = 277, - NUMBER = 278, - SUBSYSTEMID = 279, - INHERIT = 280, - IOAPIC_IRQ = 281, - IOAPIC = 282, - PCIINT = 283 - }; + enum yytokentype + { + CHIP = 258, + DEVICE = 259, + REGISTER = 260, + BOOL = 261, + BUS = 262, + RESOURCE = 263, + END = 264, + EQUALS = 265, + HEX = 266, + STRING = 267, + PCI = 268, + PNP = 269, + I2C = 270, + APIC = 271, + CPU_CLUSTER = 272, + CPU = 273, + DOMAIN = 274, + IRQ = 275, + DRQ = 276, + IO = 277, + NUMBER = 278, + SUBSYSTEMID = 279, + INHERIT = 280, + IOAPIC_IRQ = 281, + IOAPIC = 282, + PCIINT = 283 + }; #endif - - +/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE + +union YYSTYPE { @@ -78,11 +86,16 @@ typedef union YYSTYPE int number; +}; -} YYSTYPE; +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif + extern YYSTYPE yylval; + +int yyparse (void); + +#endif /* !YY_YY_SCONFIG_TAB_H_SHIPPED_INCLUDED */ -- cgit v1.2.3