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