blob: 46a5e124eda1c9df1fbb18fa531216874269921c [file] [log] [blame]
Michal Marek5b733fa2015-08-20 14:13:35 +02001/* A Bison parser, made by GNU Bison 2.7. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Michal Marek0359de72011-10-11 12:07:05 +02003/* Bison interface for Yacc-like parsers in C
Michal Marek303fc012011-02-15 16:04:35 +01004
Jan Beulichdc533242014-04-03 14:46:37 -07005 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
Michal Marek303fc012011-02-15 16:04:35 +01006
7 This program is free software: you can redistribute it and/or modify
Sam Ravnborgc40f5642005-12-26 22:53:25 +01008 it under the terms of the GNU General Public License as published by
Michal Marek303fc012011-02-15 16:04:35 +01009 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
Sam Ravnborgc40f5642005-12-26 22:53:25 +010012 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.
Michal Marek303fc012011-02-15 16:04:35 +010016
Sam Ravnborgc40f5642005-12-26 22:53:25 +010017 You should have received a copy of the GNU General Public License
Michal Marek303fc012011-02-15 16:04:35 +010018 along with this program. If not, see <http://www.gnu.org/licenses/>. */
Sam Ravnborgc40f5642005-12-26 22:53:25 +010019
Sam Ravnborg70f75242007-09-01 10:26:32 +020020/* 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.
Michal Marek303fc012011-02-15 16:04:35 +010029
Sam Ravnborg70f75242007-09-01 10:26:32 +020030 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
Sam Ravnborgc40f5642005-12-26 22:53:25 +010032
Michal Marek5b733fa2015-08-20 14:13:35 +020033#ifndef YY_YY_SCRIPTS_GENKSYMS_PARSE_TAB_H_SHIPPED_INCLUDED
34# define YY_YY_SCRIPTS_GENKSYMS_PARSE_TAB_H_SHIPPED_INCLUDED
35/* Enabling traces. */
36#ifndef YYDEBUG
37# define YYDEBUG 1
38#endif
39#if YYDEBUG
40extern int yydebug;
41#endif
Michal Marek303fc012011-02-15 16:04:35 +010042
Sam Ravnborgc40f5642005-12-26 22:53:25 +010043/* Tokens. */
44#ifndef YYTOKENTYPE
45# define YYTOKENTYPE
46 /* Put the tokens into the symbol table, so that GDB and other debuggers
47 know about them. */
48 enum yytokentype {
49 ASM_KEYW = 258,
50 ATTRIBUTE_KEYW = 259,
51 AUTO_KEYW = 260,
52 BOOL_KEYW = 261,
53 CHAR_KEYW = 262,
54 CONST_KEYW = 263,
55 DOUBLE_KEYW = 264,
56 ENUM_KEYW = 265,
57 EXTERN_KEYW = 266,
Sam Ravnborg70f75242007-09-01 10:26:32 +020058 EXTENSION_KEYW = 267,
59 FLOAT_KEYW = 268,
60 INLINE_KEYW = 269,
61 INT_KEYW = 270,
62 LONG_KEYW = 271,
63 REGISTER_KEYW = 272,
64 RESTRICT_KEYW = 273,
65 SHORT_KEYW = 274,
66 SIGNED_KEYW = 275,
67 STATIC_KEYW = 276,
68 STRUCT_KEYW = 277,
69 TYPEDEF_KEYW = 278,
70 UNION_KEYW = 279,
71 UNSIGNED_KEYW = 280,
72 VOID_KEYW = 281,
73 VOLATILE_KEYW = 282,
74 TYPEOF_KEYW = 283,
Michal Marek7e441fe2016-11-29 15:57:40 +010075 VA_LIST_KEYW = 284,
76 EXPORT_SYMBOL_KEYW = 285,
77 ASM_PHRASE = 286,
78 ATTRIBUTE_PHRASE = 287,
79 TYPEOF_PHRASE = 288,
80 BRACE_PHRASE = 289,
81 BRACKET_PHRASE = 290,
82 EXPRESSION_PHRASE = 291,
83 CHAR = 292,
84 DOTS = 293,
85 IDENT = 294,
86 INT = 295,
87 REAL = 296,
88 STRING = 297,
89 TYPE = 298,
90 OTHER = 299,
91 FILENAME = 300
Sam Ravnborgc40f5642005-12-26 22:53:25 +010092 };
93#endif
Sam Ravnborgc40f5642005-12-26 22:53:25 +010094
95
Sam Ravnborg70f75242007-09-01 10:26:32 +020096#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
Sam Ravnborgc40f5642005-12-26 22:53:25 +010097typedef int YYSTYPE;
Michal Marek303fc012011-02-15 16:04:35 +010098# define YYSTYPE_IS_TRIVIAL 1
Sam Ravnborgc40f5642005-12-26 22:53:25 +010099# define yystype YYSTYPE /* obsolescent; will be withdrawn */
100# define YYSTYPE_IS_DECLARED 1
Sam Ravnborgc40f5642005-12-26 22:53:25 +0100101#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102
103extern YYSTYPE yylval;
Sam Ravnborgc40f5642005-12-26 22:53:25 +0100104
Michal Marek5b733fa2015-08-20 14:13:35 +0200105#ifdef YYPARSE_PARAM
106#if defined __STDC__ || defined __cplusplus
107int yyparse (void *YYPARSE_PARAM);
108#else
109int yyparse ();
110#endif
111#else /* ! YYPARSE_PARAM */
112#if defined __STDC__ || defined __cplusplus
113int yyparse (void);
114#else
115int yyparse ();
116#endif
117#endif /* ! YYPARSE_PARAM */
Michal Marek303fc012011-02-15 16:04:35 +0100118
Michal Marek5b733fa2015-08-20 14:13:35 +0200119#endif /* !YY_YY_SCRIPTS_GENKSYMS_PARSE_TAB_H_SHIPPED_INCLUDED */