xref: /OK3568_Linux_fs/u-boot/scripts/dtc/dtc-parser.tab.h_shipped (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/* A Bison parser, made by GNU Bison 3.0.4.  */
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun/* Bison interface for Yacc-like parsers in C
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun   Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun   This program is free software: you can redistribute it and/or modify
8*4882a593Smuzhiyun   it under the terms of the GNU General Public License as published by
9*4882a593Smuzhiyun   the Free Software Foundation, either version 3 of the License, or
10*4882a593Smuzhiyun   (at your option) any later version.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun   This program is distributed in the hope that it will be useful,
13*4882a593Smuzhiyun   but WITHOUT ANY WARRANTY; without even the implied warranty of
14*4882a593Smuzhiyun   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*4882a593Smuzhiyun   GNU General Public License for more details.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun   You should have received a copy of the GNU General Public License
18*4882a593Smuzhiyun   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun/* As a special exception, you may create a larger work that contains
21*4882a593Smuzhiyun   part or all of the Bison parser skeleton and distribute that work
22*4882a593Smuzhiyun   under terms of your choice, so long as that work isn't itself a
23*4882a593Smuzhiyun   parser generator using the skeleton or a modified version thereof
24*4882a593Smuzhiyun   as a parser skeleton.  Alternatively, if you modify or redistribute
25*4882a593Smuzhiyun   the parser skeleton itself, you may (at your option) remove this
26*4882a593Smuzhiyun   special exception, which will cause the skeleton and the resulting
27*4882a593Smuzhiyun   Bison output files to be licensed under the GNU General Public
28*4882a593Smuzhiyun   License without this special exception.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun   This special exception was added by the Free Software Foundation in
31*4882a593Smuzhiyun   version 2.2 of Bison.  */
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun#ifndef YY_YY_DTC_PARSER_TAB_H_INCLUDED
34*4882a593Smuzhiyun# define YY_YY_DTC_PARSER_TAB_H_INCLUDED
35*4882a593Smuzhiyun/* Debug traces.  */
36*4882a593Smuzhiyun#ifndef YYDEBUG
37*4882a593Smuzhiyun# define YYDEBUG 0
38*4882a593Smuzhiyun#endif
39*4882a593Smuzhiyun#if YYDEBUG
40*4882a593Smuzhiyunextern int yydebug;
41*4882a593Smuzhiyun#endif
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun/* Token type.  */
44*4882a593Smuzhiyun#ifndef YYTOKENTYPE
45*4882a593Smuzhiyun# define YYTOKENTYPE
46*4882a593Smuzhiyun  enum yytokentype
47*4882a593Smuzhiyun  {
48*4882a593Smuzhiyun    DT_V1 = 258,
49*4882a593Smuzhiyun    DT_PLUGIN = 259,
50*4882a593Smuzhiyun    DT_MEMRESERVE = 260,
51*4882a593Smuzhiyun    DT_LSHIFT = 261,
52*4882a593Smuzhiyun    DT_RSHIFT = 262,
53*4882a593Smuzhiyun    DT_LE = 263,
54*4882a593Smuzhiyun    DT_GE = 264,
55*4882a593Smuzhiyun    DT_EQ = 265,
56*4882a593Smuzhiyun    DT_NE = 266,
57*4882a593Smuzhiyun    DT_AND = 267,
58*4882a593Smuzhiyun    DT_OR = 268,
59*4882a593Smuzhiyun    DT_BITS = 269,
60*4882a593Smuzhiyun    DT_DEL_PROP = 270,
61*4882a593Smuzhiyun    DT_DEL_NODE = 271,
62*4882a593Smuzhiyun    DT_PROPNODENAME = 272,
63*4882a593Smuzhiyun    DT_LITERAL = 273,
64*4882a593Smuzhiyun    DT_CHAR_LITERAL = 274,
65*4882a593Smuzhiyun    DT_BYTE = 275,
66*4882a593Smuzhiyun    DT_STRING = 276,
67*4882a593Smuzhiyun    DT_LABEL = 277,
68*4882a593Smuzhiyun    DT_REF = 278,
69*4882a593Smuzhiyun    DT_INCBIN = 279
70*4882a593Smuzhiyun  };
71*4882a593Smuzhiyun#endif
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun/* Value type.  */
74*4882a593Smuzhiyun#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
75*4882a593Smuzhiyun
76*4882a593Smuzhiyununion YYSTYPE
77*4882a593Smuzhiyun{
78*4882a593Smuzhiyun#line 39 "dtc-parser.y" /* yacc.c:1909  */
79*4882a593Smuzhiyun
80*4882a593Smuzhiyun	char *propnodename;
81*4882a593Smuzhiyun	char *labelref;
82*4882a593Smuzhiyun	uint8_t byte;
83*4882a593Smuzhiyun	struct data data;
84*4882a593Smuzhiyun
85*4882a593Smuzhiyun	struct {
86*4882a593Smuzhiyun		struct data	data;
87*4882a593Smuzhiyun		int		bits;
88*4882a593Smuzhiyun	} array;
89*4882a593Smuzhiyun
90*4882a593Smuzhiyun	struct property *prop;
91*4882a593Smuzhiyun	struct property *proplist;
92*4882a593Smuzhiyun	struct node *node;
93*4882a593Smuzhiyun	struct node *nodelist;
94*4882a593Smuzhiyun	struct reserve_info *re;
95*4882a593Smuzhiyun	uint64_t integer;
96*4882a593Smuzhiyun	unsigned int flags;
97*4882a593Smuzhiyun
98*4882a593Smuzhiyun#line 99 "dtc-parser.tab.h" /* yacc.c:1909  */
99*4882a593Smuzhiyun};
100*4882a593Smuzhiyun
101*4882a593Smuzhiyuntypedef union YYSTYPE YYSTYPE;
102*4882a593Smuzhiyun# define YYSTYPE_IS_TRIVIAL 1
103*4882a593Smuzhiyun# define YYSTYPE_IS_DECLARED 1
104*4882a593Smuzhiyun#endif
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun/* Location type.  */
107*4882a593Smuzhiyun#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
108*4882a593Smuzhiyuntypedef struct YYLTYPE YYLTYPE;
109*4882a593Smuzhiyunstruct YYLTYPE
110*4882a593Smuzhiyun{
111*4882a593Smuzhiyun  int first_line;
112*4882a593Smuzhiyun  int first_column;
113*4882a593Smuzhiyun  int last_line;
114*4882a593Smuzhiyun  int last_column;
115*4882a593Smuzhiyun};
116*4882a593Smuzhiyun# define YYLTYPE_IS_DECLARED 1
117*4882a593Smuzhiyun# define YYLTYPE_IS_TRIVIAL 1
118*4882a593Smuzhiyun#endif
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun
121*4882a593Smuzhiyunextern YYSTYPE yylval;
122*4882a593Smuzhiyunextern YYLTYPE yylloc;
123*4882a593Smuzhiyunint yyparse (void);
124*4882a593Smuzhiyun
125*4882a593Smuzhiyun#endif /* !YY_YY_DTC_PARSER_TAB_H_INCLUDED  */
126