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  GSSWITCH = 261, /* GSSWITCH */
69  WALNTOK = 262, /* WALNTOK */
70  ENCTOK = 263, /* ENCTOK */
71  NUM = 264, /* NUM */
72  COMMENT = 265, /* COMMENT */
73  HOTSTOK = 266, /* HOTSTOK */
74  CUTSTOK = 267, /* CUTSTOK */
75  BACKTOK = 268, /* BACKTOK */
76  INTRTOK = 269, /* INTRTOK */
77  RETTOK = 270, /* RETTOK */
78  TIMETOK = 271, /* TIMETOK */
79  PALETOK = 272, /* PALETOK */
80  BBOXTOK = 273, /* BBOXTOK */
81  OVERTOK = 274, /* OVERTOK */
82  MICETOK = 275, /* MICETOK */
83  SONDTOK = 276, /* SONDTOK */
84  PLAYTOK = 277, /* PLAYTOK */
85  ENDTOK = 278, /* ENDTOK */
86  MENUTOK = 279, /* MENUTOK */
87  SMENTOK = 280, /* SMENTOK */
88  ESCPTOK = 281, /* ESCPTOK */
89  NRTOK = 282, /* NRTOK */
90  AMBITOK = 283, /* AMBITOK */
91  SWPTTOK = 284, /* SWPTTOK */
92  MPTRTOK = 285, /* MPTRTOK */
93  GLOBTOK = 286, /* GLOBTOK */
94  TONTOK = 287, /* TONTOK */
95  TOFFTOK = 288, /* TOFFTOK */
96  TALKTOK = 289, /* TALKTOK */
97  INACTOK = 290, /* INACTOK */
98  FDTOK = 291, /* FDTOK */
99  BOXXTOK = 292, /* BOXXTOK */
100  ESCAPETOK = 293, /* ESCAPETOK */
101  SECONDTOK = 294, /* SECONDTOK */
102  INTROTOK = 295, /* INTROTOK */
103  DEFAULTTOK = 296, /* DEFAULTTOK */
104  PG = 297, /* PG */
105  PA = 298, /* PA */
106  PD = 299, /* PD */
107  PH = 300, /* PH */
108  PF = 301, /* PF */
109  PP = 302, /* PP */
110  PI = 303, /* PI */
111  PS = 304, /* PS */
112  PE = 305, /* PE */
113  PL = 306 /* PL */
114  };
115  typedef enum HYPNO_MIS_tokentype HYPNO_MIS_token_kind_t;
116 #endif
117 
118 /* Value type. */
119 #if ! defined HYPNO_MIS_STYPE && ! defined HYPNO_MIS_STYPE_IS_DECLARED
121 {
122 #line 57 "engines/hypno/grammar_mis.y"
123 
124  char *s; /* string value */
125  int i; /* integer value */
126 
127 #line 128 "engines/hypno/tokens_mis.h"
128 
129 };
130 typedef union HYPNO_MIS_STYPE HYPNO_MIS_STYPE;
131 # define HYPNO_MIS_STYPE_IS_TRIVIAL 1
132 # define HYPNO_MIS_STYPE_IS_DECLARED 1
133 #endif
134 
135 
136 extern HYPNO_MIS_STYPE HYPNO_MIS_lval;
137 
138 
139 int HYPNO_MIS_parse (void);
140 
141 
142 #endif /* !YY_HYPNO_MIS_ENGINES_HYPNO_TOKENS_MIS_H_INCLUDED */
Definition: tokens_mis.h:120