blob: a9a94886ee911aeb8f71abf6db993e1e44664049 [file] [log] [blame]
Karl Zhang3de5ab12021-05-31 11:45:48 +08001/* A Bison parser, made by GNU Bison 3.0.4. */
2
3/* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6
7 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.
11
12 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.
16
17 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.
29
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
32
33#ifndef YY_YY_PARSER_TF_FUZZ_GRAMMAR_TAB_HPP_INCLUDED
34# define YY_YY_PARSER_TF_FUZZ_GRAMMAR_TAB_HPP_INCLUDED
35/* Debug traces. */
36#ifndef YYDEBUG
37# define YYDEBUG 0
38#endif
39#if YYDEBUG
40extern int yydebug;
41#endif
42
43/* Token type. */
44#ifndef YYTOKENTYPE
45# define YYTOKENTYPE
46 enum yytokentype
47 {
48 PURPOSE = 258,
49 RAW_TEXT = 259,
50 SET = 260,
51 READ = 261,
52 REMOVE = 262,
53 SECURE = 263,
54 DONE = 264,
55 SST = 265,
56 KEY = 266,
57 POLICY = 267,
58 NAME = 268,
59 UID = 269,
60 STAR = 270,
61 ACTIVE = 271,
62 DELETED = 272,
63 EQUAL = 273,
64 DATA = 274,
65 DFNAME = 275,
66 FLAG = 276,
67 NONE = 277,
68 WRITE_ONCE = 278,
69 NO_RP = 279,
70 NO_CONF = 280,
71 OFFSET = 281,
72 CHECK = 282,
73 VAR = 283,
74 HASH = 284,
75 NEQ = 285,
76 PRINT = 286,
77 EXPECT = 287,
78 PASS = 288,
79 FAIL = 289,
80 NOTHING = 290,
81 ERROR = 291,
82 IDENTIFIER_TOK = 292,
83 LITERAL_TOK = 293,
84 HEX_LIST = 294,
85 FILE_PATH_TOK = 295,
86 NUMBER_TOK = 296,
87 SEMICOLON = 297,
88 SHUFFLE = 298,
89 TO = 299,
90 OF = 300,
91 OPEN_BRACE = 301,
92 CLOSE_BRACE = 302,
93 ATTR = 303,
94 TYPE = 304,
95 ALG = 305,
96 EXPORT = 306,
97 COPY = 307,
98 ENCRYPT = 308,
99 DECRYPT = 309,
100 SIGN = 310,
101 VERIFY = 311,
102 DERIVE = 312,
103 NOEXPORT = 313,
104 NOCOPY = 314,
105 NOENCRYPT = 315,
106 NODECRYPT = 316,
107 NOSIGN = 317,
108 NOVERIFY = 318,
109 NODERIVE = 319,
110 PERSISTENT = 320,
111 VOLATILE = 321,
112 FROM = 322,
113 WITH = 323
114 };
115#endif
116
117/* Value type. */
118#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
119
120union YYSTYPE
121{
122#line 353 "parser/tf_fuzz_grammar.y" /* yacc.c:1909 */
123int valueN; int tokenN; char *str;
124
125#line 126 "parser/tf_fuzz_grammar.tab.hpp" /* yacc.c:1909 */
126};
127
128typedef union YYSTYPE YYSTYPE;
129# define YYSTYPE_IS_TRIVIAL 1
130# define YYSTYPE_IS_DECLARED 1
131#endif
132
133/* Location type. */
134#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
135typedef struct YYLTYPE YYLTYPE;
136struct YYLTYPE
137{
138 int first_line;
139 int first_column;
140 int last_line;
141 int last_column;
142};
143# define YYLTYPE_IS_DECLARED 1
144# define YYLTYPE_IS_TRIVIAL 1
145#endif
146
147
148extern YYSTYPE yylval;
149extern YYLTYPE yylloc;
150int yyparse (tf_fuzz_info *rsrc);
151
152#endif /* !YY_YY_PARSER_TF_FUZZ_GRAMMAR_TAB_HPP_INCLUDED */