1 /* A Bison parser, made by GNU Bison 3.4.2. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 /* As a special exception, you may create a larger work that contains
22 part or all of the Bison parser skeleton and distribute that work
23 under terms of your choice, so long as that work isn't itself a
24 parser generator using the skeleton or a modified version thereof
25 as a parser skeleton. Alternatively, if you modify or redistribute
26 the parser skeleton itself, you may (at your option) remove this
27 special exception, which will cause the skeleton and the resulting
28 Bison output files to be licensed under the GNU General Public
29 License without this special exception.
31 This special exception was added by the Free Software Foundation in
32 version 2.2 of Bison. */
34 /* Undocumented macros, especially those whose name start with YY_,
35 are private implementation details. Do not rely on them. */
37 #ifndef YY_YY_SCRIPTS_KCONFIG_PARSER_TAB_H_INCLUDED
38 # define YY_YY_SCRIPTS_KCONFIG_PARSER_TAB_H_INCLUDED
47 #include "lxrgmr/preprocess.h"
49 #include "../token_id.h"
50 #include "src/symbol.h"
53 * this struct copied from expr.h for temp.
62 #define kconf_id token_id
65 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
71 struct symbol
*symbol
;
74 enum symbol_type type
;
75 enum variable_flavor flavor
;
76 const struct kconf_id
*id
;
79 typedef union YYSTYPE YYSTYPE
;
80 # define YYSTYPE_IS_TRIVIAL 1
81 # define YYSTYPE_IS_DECLARED 1
94 T_ALLNOCONFIG_Y
= 261,
102 T_DEFCONFIG_LIST
= 269,
104 T_DEF_TRISTATE
= 271,
139 T_GREATER_EQUAL
= 306,
196 T_GREATER_EQUAL
= 288,
206 * tokens below defined for extension.
208 T_CMNT_STR
= T_TAIL_SUB
+ 1,
209 // [[:alnum:]_] string, started with [[:alpha:]_]
217 * T_STR_LITERAL: "pure c-style string without word combination"
218 * T_WORD: SH_WORD"string mix with word"ANOTHER_WORD
240 extern YYSTYPE yylval
;
242 extern int yyparse (void);
244 #endif /* !YY_YY_SCRIPTS_KCONFIG_PARSER_TAB_H_INCLUDED */