blob: 3670c087b0835629ec8dad7bc09d9aa227043fef [file] [log] [blame]
Stefan Reinauer2e78aa52016-05-07 01:11:14 -07001/* A Bison parser, made by GNU Bison 3.0.4. */
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +00002
Sven Schnelle0fa50a12012-06-21 22:19:48 +02003/* Bison interface for Yacc-like parsers in C
Stefan Reinauer2e78aa52016-05-07 01:11:14 -07004
5 Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +00007 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070011
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000012 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070016
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000017 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20/* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070029
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000030 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
32
Justin TerAvestca2ed9f2018-01-17 16:36:30 -080033#ifndef YY_YY_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
34# define YY_YY_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070035/* Debug traces. */
36#ifndef YYDEBUG
37# define YYDEBUG 0
38#endif
39#if YYDEBUG
40extern int yydebug;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000041#endif
42
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070043/* Token type. */
44#ifndef YYTOKENTYPE
45# define YYTOKENTYPE
46 enum yytokentype
47 {
48 CHIP = 258,
49 DEVICE = 259,
50 REGISTER = 260,
51 BOOL = 261,
52 BUS = 262,
53 RESOURCE = 263,
54 END = 264,
55 EQUALS = 265,
56 HEX = 266,
57 STRING = 267,
58 PCI = 268,
59 PNP = 269,
60 I2C = 270,
61 APIC = 271,
62 CPU_CLUSTER = 272,
63 CPU = 273,
64 DOMAIN = 274,
65 IRQ = 275,
66 DRQ = 276,
67 IO = 277,
68 NUMBER = 278,
69 SUBSYSTEMID = 279,
70 INHERIT = 280,
71 IOAPIC_IRQ = 281,
72 IOAPIC = 282,
Duncan Laurie4650f5b2016-05-07 20:01:34 -070073 PCIINT = 283,
Furquan Shaikhe6700292017-02-11 00:50:38 -080074 GENERIC = 284,
Justin TerAvestca2ed9f2018-01-17 16:36:30 -080075 SPI = 285,
76 MMIO = 286
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070077 };
78#endif
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000079
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070080/* Value type. */
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000081#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070082
83union YYSTYPE
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000084{
85
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000086
87 struct device *device;
88 char *string;
89 int number;
90
91
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070092};
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000093
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070094typedef union YYSTYPE YYSTYPE;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000095# define YYSTYPE_IS_TRIVIAL 1
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000096# define YYSTYPE_IS_DECLARED 1
97#endif
98
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070099
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000100extern YYSTYPE yylval;
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700101
102int yyparse (void);
103
Justin TerAvestca2ed9f2018-01-17 16:36:30 -0800104#endif /* !YY_YY_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED */