ScummVM API documentation
tokens_mis.h
1 /* A Bison parser, made by GNU Bison 3.8.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6  Inc.
7 
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.
12 
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.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <https://www.gnu.org/licenses/>. */
20 
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.
30 
31  This special exception was added by the Free Software Foundation in
32  version 2.2 of Bison. */
33 
34 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35  especially those whose name start with YY_ or yy_. They are
36  private implementation details that can be changed or removed. */
37 
38 #ifndef YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED
39 # define YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED
40 /* Debug traces. */
41 #ifndef HYPNO_MIS_DEBUG
42 # if defined YYDEBUG
43 #if YYDEBUG
44 # define HYPNO_MIS_DEBUG 1
45 # else
46 # define HYPNO_MIS_DEBUG 0
47 # endif
48 # else /* ! defined YYDEBUG */
49 # define HYPNO_MIS_DEBUG 0
50 # endif /* ! defined YYDEBUG */
51 #endif /* ! defined HYPNO_MIS_DEBUG */
52 #if HYPNO_MIS_DEBUG
53 extern int HYPNO_MIS_debug;
54 #endif
55 
56 /* Token kinds. */
57 #ifndef HYPNO_MIS_TOKENTYPE
58 # define HYPNO_MIS_TOKENTYPE
59  enum HYPNO_MIS_tokentype
60  {
61  HYPNO_MIS_EMPTY = -2,
62  HYPNO_MIS_EOF = 0, /* "end of file" */
63  HYPNO_MIS_error = 256, /* error */
64  HYPNO_MIS_UNDEF = 257, /* "invalid token" */
65  NAME = 258, /* NAME */
66  FILENAME = 259, /* FILENAME */
67  FLAG = 260, /* FLAG */
68  COMMENT = 261, /* COMMENT */
69  GSSWITCH = 262, /* GSSWITCH */
70  COMMAND = 263, /* COMMAND */
71  WALNTOK = 264, /* WALNTOK */
72  ENCTOK = 265, /* ENCTOK */
73  NUM = 266, /* NUM */
74  HOTSTOK = 267, /* HOTSTOK */
75  CUTSTOK = 268, /* CUTSTOK */
76  BACKTOK = 269, /* BACKTOK */
77  INTRTOK = 270, /* INTRTOK */
78  RETTOK = 271, /* RETTOK */
79  TIMETOK = 272, /* TIMETOK */
80  PALETOK = 273, /* PALETOK */
81  BBOXTOK = 274, /* BBOXTOK */
82  OVERTOK = 275, /* OVERTOK */
83  MICETOK = 276, /* MICETOK */
84  SONDTOK = 277, /* SONDTOK */
85  PLAYTOK = 278, /* PLAYTOK */
86  ENDTOK = 279, /* ENDTOK */
87  MENUTOK = 280, /* MENUTOK */
88  SMENTOK = 281, /* SMENTOK */
89  ESCPTOK = 282, /* ESCPTOK */
90  NRTOK = 283, /* NRTOK */
91  AMBITOK = 284, /* AMBITOK */
92  SWPTTOK = 285, /* SWPTTOK */
93  MPTRTOK = 286, /* MPTRTOK */
94  GLOBTOK = 287, /* GLOBTOK */
95  TONTOK = 288, /* TONTOK */
96  TOFFTOK = 289, /* TOFFTOK */
97  TALKTOK = 290, /* TALKTOK */
98  INACTOK = 291, /* INACTOK */
99  FDTOK = 292, /* FDTOK */
100  BOXXTOK = 293, /* BOXXTOK */
101  ESCAPETOK = 294, /* ESCAPETOK */
102  SECONDTOK = 295, /* SECONDTOK */
103  INTROTOK = 296, /* INTROTOK */
104  DEFAULTTOK = 297, /* DEFAULTTOK */
105  PG = 298, /* PG */
106  PA = 299, /* PA */
107  PD = 300, /* PD */
108  PH = 301, /* PH */
109  PF = 302, /* PF */
110  PE = 303, /* PE */
111  PP = 304, /* PP */
112  PI = 305, /* PI */
113  PL = 306, /* PL */
114  PS = 307 /* PS */
115  };
116  typedef enum HYPNO_MIS_tokentype HYPNO_MIS_token_kind_t;
117 #endif
118 
119 /* Value type. */
120 #if ! defined HYPNO_MIS_STYPE && ! defined HYPNO_MIS_STYPE_IS_DECLARED
122 {
123 #line 55 "engines/hypno/grammar_mis.y"
124 
125  char *s; /* string value */
126  int i; /* integer value */
127 
128 #line 129 "engines/hypno/tokens_mis.h"
129 
130 };
131 typedef union HYPNO_MIS_STYPE HYPNO_MIS_STYPE;
132 # define HYPNO_MIS_STYPE_IS_TRIVIAL 1
133 # define HYPNO_MIS_STYPE_IS_DECLARED 1
134 #endif
135 
136 
137 extern HYPNO_MIS_STYPE HYPNO_MIS_lval;
138 
139 
140 int HYPNO_MIS_parse (void);
141 
142 
143 #endif /* !YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED */
Definition: tokens_mis.h:121