158 lines
4.3 KiB
C
158 lines
4.3 KiB
C
|
/* A Bison parser, made by GNU Bison 2.7. */
|
||
|
|
||
|
/* Bison interface for Yacc-like parsers in C
|
||
|
|
||
|
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
|
||
|
|
||
|
This program is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation, either version 3 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||
|
|
||
|
/* As a special exception, you may create a larger work that contains
|
||
|
part or all of the Bison parser skeleton and distribute that work
|
||
|
under terms of your choice, so long as that work isn't itself a
|
||
|
parser generator using the skeleton or a modified version thereof
|
||
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
||
|
the parser skeleton itself, you may (at your option) remove this
|
||
|
special exception, which will cause the skeleton and the resulting
|
||
|
Bison output files to be licensed under the GNU General Public
|
||
|
License without this special exception.
|
||
|
|
||
|
This special exception was added by the Free Software Foundation in
|
||
|
version 2.2 of Bison. */
|
||
|
|
||
|
#ifndef YY_DCYY_BUILT_X64_TMP_DCPARSER_YXX_H_INCLUDED
|
||
|
# define YY_DCYY_BUILT_X64_TMP_DCPARSER_YXX_H_INCLUDED
|
||
|
/* Enabling traces. */
|
||
|
#ifndef YYDEBUG
|
||
|
# define YYDEBUG 0
|
||
|
#endif
|
||
|
#if YYDEBUG
|
||
|
extern int dcyydebug;
|
||
|
#endif
|
||
|
|
||
|
/* Tokens. */
|
||
|
#ifndef YYTOKENTYPE
|
||
|
# define YYTOKENTYPE
|
||
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
||
|
know about them. */
|
||
|
enum yytokentype {
|
||
|
UNSIGNED_INTEGER = 258,
|
||
|
SIGNED_INTEGER = 259,
|
||
|
REAL = 260,
|
||
|
STRING = 261,
|
||
|
IDENTIFIER = 262,
|
||
|
HEX_STRING = 263,
|
||
|
KEYWORD = 264,
|
||
|
KW_DCLASS = 265,
|
||
|
KW_STRUCT = 266,
|
||
|
KW_FROM = 267,
|
||
|
KW_IMPORT = 268,
|
||
|
KW_TYPEDEF = 269,
|
||
|
KW_KEYWORD = 270,
|
||
|
KW_SWITCH = 271,
|
||
|
KW_CASE = 272,
|
||
|
KW_DEFAULT = 273,
|
||
|
KW_BREAK = 274,
|
||
|
KW_INT8 = 275,
|
||
|
KW_INT16 = 276,
|
||
|
KW_INT32 = 277,
|
||
|
KW_INT64 = 278,
|
||
|
KW_UINT8 = 279,
|
||
|
KW_UINT16 = 280,
|
||
|
KW_UINT32 = 281,
|
||
|
KW_UINT64 = 282,
|
||
|
KW_FLOAT64 = 283,
|
||
|
KW_STRING = 284,
|
||
|
KW_BLOB = 285,
|
||
|
KW_BLOB32 = 286,
|
||
|
KW_INT8ARRAY = 287,
|
||
|
KW_INT16ARRAY = 288,
|
||
|
KW_INT32ARRAY = 289,
|
||
|
KW_UINT8ARRAY = 290,
|
||
|
KW_UINT16ARRAY = 291,
|
||
|
KW_UINT32ARRAY = 292,
|
||
|
KW_UINT32UINT8ARRAY = 293,
|
||
|
KW_CHAR = 294,
|
||
|
START_DC = 295,
|
||
|
START_PARAMETER_VALUE = 296,
|
||
|
START_PARAMETER_DESCRIPTION = 297
|
||
|
};
|
||
|
#endif
|
||
|
/* Tokens. */
|
||
|
#define UNSIGNED_INTEGER 258
|
||
|
#define SIGNED_INTEGER 259
|
||
|
#define REAL 260
|
||
|
#define STRING 261
|
||
|
#define IDENTIFIER 262
|
||
|
#define HEX_STRING 263
|
||
|
#define KEYWORD 264
|
||
|
#define KW_DCLASS 265
|
||
|
#define KW_STRUCT 266
|
||
|
#define KW_FROM 267
|
||
|
#define KW_IMPORT 268
|
||
|
#define KW_TYPEDEF 269
|
||
|
#define KW_KEYWORD 270
|
||
|
#define KW_SWITCH 271
|
||
|
#define KW_CASE 272
|
||
|
#define KW_DEFAULT 273
|
||
|
#define KW_BREAK 274
|
||
|
#define KW_INT8 275
|
||
|
#define KW_INT16 276
|
||
|
#define KW_INT32 277
|
||
|
#define KW_INT64 278
|
||
|
#define KW_UINT8 279
|
||
|
#define KW_UINT16 280
|
||
|
#define KW_UINT32 281
|
||
|
#define KW_UINT64 282
|
||
|
#define KW_FLOAT64 283
|
||
|
#define KW_STRING 284
|
||
|
#define KW_BLOB 285
|
||
|
#define KW_BLOB32 286
|
||
|
#define KW_INT8ARRAY 287
|
||
|
#define KW_INT16ARRAY 288
|
||
|
#define KW_INT32ARRAY 289
|
||
|
#define KW_UINT8ARRAY 290
|
||
|
#define KW_UINT16ARRAY 291
|
||
|
#define KW_UINT32ARRAY 292
|
||
|
#define KW_UINT32UINT8ARRAY 293
|
||
|
#define KW_CHAR 294
|
||
|
#define START_DC 295
|
||
|
#define START_PARAMETER_VALUE 296
|
||
|
#define START_PARAMETER_DESCRIPTION 297
|
||
|
|
||
|
|
||
|
|
||
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||
|
|
||
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||
|
# define YYSTYPE_IS_DECLARED 1
|
||
|
#endif
|
||
|
|
||
|
extern YYSTYPE dcyylval;
|
||
|
|
||
|
#ifdef YYPARSE_PARAM
|
||
|
#if defined __STDC__ || defined __cplusplus
|
||
|
int dcyyparse (void *YYPARSE_PARAM);
|
||
|
#else
|
||
|
int dcyyparse ();
|
||
|
#endif
|
||
|
#else /* ! YYPARSE_PARAM */
|
||
|
#if defined __STDC__ || defined __cplusplus
|
||
|
int dcyyparse (void);
|
||
|
#else
|
||
|
int dcyyparse ();
|
||
|
#endif
|
||
|
#endif /* ! YYPARSE_PARAM */
|
||
|
|
||
|
#endif /* !YY_DCYY_BUILT_X64_TMP_DCPARSER_YXX_H_INCLUDED */
|