143 lines
5.3 KiB
C
143 lines
5.3 KiB
C
/* A Bison parser, made by GNU Bison 3.8.2. */
|
|
|
|
/* Bison interface for Yacc-like parsers in C
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 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 <https://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. */
|
|
|
|
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
|
|
especially those whose name start with YY_ or yy_. They are
|
|
private implementation details that can be changed or removed. */
|
|
|
|
#ifndef YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED
|
|
# define YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED
|
|
/* Debug traces. */
|
|
#ifndef HYPNO_MIS_DEBUG
|
|
# if defined YYDEBUG
|
|
#if YYDEBUG
|
|
# define HYPNO_MIS_DEBUG 1
|
|
# else
|
|
# define HYPNO_MIS_DEBUG 0
|
|
# endif
|
|
# else /* ! defined YYDEBUG */
|
|
# define HYPNO_MIS_DEBUG 0
|
|
# endif /* ! defined YYDEBUG */
|
|
#endif /* ! defined HYPNO_MIS_DEBUG */
|
|
#if HYPNO_MIS_DEBUG
|
|
extern int HYPNO_MIS_debug;
|
|
#endif
|
|
|
|
/* Token kinds. */
|
|
#ifndef HYPNO_MIS_TOKENTYPE
|
|
# define HYPNO_MIS_TOKENTYPE
|
|
enum HYPNO_MIS_tokentype
|
|
{
|
|
HYPNO_MIS_EMPTY = -2,
|
|
HYPNO_MIS_EOF = 0, /* "end of file" */
|
|
HYPNO_MIS_error = 256, /* error */
|
|
HYPNO_MIS_UNDEF = 257, /* "invalid token" */
|
|
NAME = 258, /* NAME */
|
|
FILENAME = 259, /* FILENAME */
|
|
FLAG = 260, /* FLAG */
|
|
GSSWITCH = 261, /* GSSWITCH */
|
|
WALNTOK = 262, /* WALNTOK */
|
|
ENCTOK = 263, /* ENCTOK */
|
|
NUM = 264, /* NUM */
|
|
COMMENT = 265, /* COMMENT */
|
|
HOTSTOK = 266, /* HOTSTOK */
|
|
CUTSTOK = 267, /* CUTSTOK */
|
|
BACKTOK = 268, /* BACKTOK */
|
|
INTRTOK = 269, /* INTRTOK */
|
|
RETTOK = 270, /* RETTOK */
|
|
TIMETOK = 271, /* TIMETOK */
|
|
PALETOK = 272, /* PALETOK */
|
|
BBOXTOK = 273, /* BBOXTOK */
|
|
OVERTOK = 274, /* OVERTOK */
|
|
MICETOK = 275, /* MICETOK */
|
|
SONDTOK = 276, /* SONDTOK */
|
|
PLAYTOK = 277, /* PLAYTOK */
|
|
ENDTOK = 278, /* ENDTOK */
|
|
MENUTOK = 279, /* MENUTOK */
|
|
SMENTOK = 280, /* SMENTOK */
|
|
ESCPTOK = 281, /* ESCPTOK */
|
|
NRTOK = 282, /* NRTOK */
|
|
AMBITOK = 283, /* AMBITOK */
|
|
SWPTTOK = 284, /* SWPTTOK */
|
|
MPTRTOK = 285, /* MPTRTOK */
|
|
GLOBTOK = 286, /* GLOBTOK */
|
|
TONTOK = 287, /* TONTOK */
|
|
TOFFTOK = 288, /* TOFFTOK */
|
|
TALKTOK = 289, /* TALKTOK */
|
|
INACTOK = 290, /* INACTOK */
|
|
FDTOK = 291, /* FDTOK */
|
|
BOXXTOK = 292, /* BOXXTOK */
|
|
ESCAPETOK = 293, /* ESCAPETOK */
|
|
SECONDTOK = 294, /* SECONDTOK */
|
|
INTROTOK = 295, /* INTROTOK */
|
|
DEFAULTTOK = 296, /* DEFAULTTOK */
|
|
PG = 297, /* PG */
|
|
PA = 298, /* PA */
|
|
PD = 299, /* PD */
|
|
PH = 300, /* PH */
|
|
PF = 301, /* PF */
|
|
PP = 302, /* PP */
|
|
PI = 303, /* PI */
|
|
PS = 304, /* PS */
|
|
PE = 305, /* PE */
|
|
PL = 306 /* PL */
|
|
};
|
|
typedef enum HYPNO_MIS_tokentype HYPNO_MIS_token_kind_t;
|
|
#endif
|
|
|
|
/* Value type. */
|
|
#if ! defined HYPNO_MIS_STYPE && ! defined HYPNO_MIS_STYPE_IS_DECLARED
|
|
union HYPNO_MIS_STYPE
|
|
{
|
|
#line 57 "engines/hypno/grammar_mis.y"
|
|
|
|
char *s; /* string value */
|
|
int i; /* integer value */
|
|
|
|
#line 128 "engines/hypno/tokens_mis.h"
|
|
|
|
};
|
|
typedef union HYPNO_MIS_STYPE HYPNO_MIS_STYPE;
|
|
# define HYPNO_MIS_STYPE_IS_TRIVIAL 1
|
|
# define HYPNO_MIS_STYPE_IS_DECLARED 1
|
|
#endif
|
|
|
|
|
|
extern HYPNO_MIS_STYPE HYPNO_MIS_lval;
|
|
|
|
|
|
int HYPNO_MIS_parse (void);
|
|
|
|
|
|
#endif /* !YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED */
|