ScummVM API documentation
tokens_arc.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_ARC_ENGINES_HYPNO_TOKENS_ARC_H_INCLUDED
39# define YY_HYPNO_ARC_ENGINES_HYPNO_TOKENS_ARC_H_INCLUDED
40/* Debug traces. */
41#ifndef HYPNO_ARC_DEBUG
42# if defined YYDEBUG
43#if YYDEBUG
44# define HYPNO_ARC_DEBUG 1
45# else
46# define HYPNO_ARC_DEBUG 0
47# endif
48# else /* ! defined YYDEBUG */
49# define HYPNO_ARC_DEBUG 0
50# endif /* ! defined YYDEBUG */
51#endif /* ! defined HYPNO_ARC_DEBUG */
52#if HYPNO_ARC_DEBUG
53extern int HYPNO_ARC_debug;
54#endif
55
56/* Token kinds. */
57#ifndef HYPNO_ARC_TOKENTYPE
58# define HYPNO_ARC_TOKENTYPE
59 enum HYPNO_ARC_tokentype
60 {
61 HYPNO_ARC_EMPTY = -2,
62 HYPNO_ARC_EOF = 0, /* "end of file" */
63 HYPNO_ARC_error = 256, /* error */
64 HYPNO_ARC_UNDEF = 257, /* "invalid token" */
65 NAME = 258, /* NAME */
66 FILENAME = 259, /* FILENAME */
67 BNTOK = 260, /* BNTOK */
68 SNTOK = 261, /* SNTOK */
69 YXTOK = 262, /* YXTOK */
70 FNTOK = 263, /* FNTOK */
71 ENCTOK = 264, /* ENCTOK */
72 ONTOK = 265, /* ONTOK */
73 H12TOK = 266, /* H12TOK */
74 NUM = 267, /* NUM */
75 BYTE = 268, /* BYTE */
76 COMMENT = 269, /* COMMENT */
77 ALTOK = 270, /* ALTOK */
78 AVTOK = 271, /* AVTOK */
79 ABTOK = 272, /* ABTOK */
80 CTOK = 273, /* CTOK */
81 DTOK = 274, /* DTOK */
82 HTOK = 275, /* HTOK */
83 HETOK = 276, /* HETOK */
84 HLTOK = 277, /* HLTOK */
85 HUTOK = 278, /* HUTOK */
86 KNTOK = 279, /* KNTOK */
87 RETTOK = 280, /* RETTOK */
88 QTOK = 281, /* QTOK */
89 RESTOK = 282, /* RESTOK */
90 PTOK = 283, /* PTOK */
91 FTOK = 284, /* FTOK */
92 TTOK = 285, /* TTOK */
93 TATOK = 286, /* TATOK */
94 TPTOK = 287, /* TPTOK */
95 TSTOK = 288, /* TSTOK */
96 ATOK = 289, /* ATOK */
97 VTOK = 290, /* VTOK */
98 OTOK = 291, /* OTOK */
99 LTOK = 292, /* LTOK */
100 MTOK = 293, /* MTOK */
101 NTOK = 294, /* NTOK */
102 NRTOK = 295, /* NRTOK */
103 NSTOK = 296, /* NSTOK */
104 RTOK = 297, /* RTOK */
105 R0TOK = 298, /* R0TOK */
106 R1TOK = 299, /* R1TOK */
107 ITOK = 300, /* ITOK */
108 I1TOK = 301, /* I1TOK */
109 GTOK = 302, /* GTOK */
110 JTOK = 303, /* JTOK */
111 J0TOK = 304, /* J0TOK */
112 KTOK = 305, /* KTOK */
113 UTOK = 306, /* UTOK */
114 ZTOK = 307, /* ZTOK */
115 NONETOK = 308, /* NONETOK */
116 A0TOK = 309, /* A0TOK */
117 P0TOK = 310, /* P0TOK */
118 WTOK = 311, /* WTOK */
119 XTOK = 312, /* XTOK */
120 CB3TOK = 313, /* CB3TOK */
121 C02TOK = 314 /* C02TOK */
122 };
123 typedef enum HYPNO_ARC_tokentype HYPNO_ARC_token_kind_t;
124#endif
125
126/* Value type. */
127#if ! defined HYPNO_ARC_STYPE && ! defined HYPNO_ARC_STYPE_IS_DECLARED
129{
130#line 97 "engines/hypno/grammar_arc.y"
131
132 char *s; /* string value */
133 int i; /* integer value */
134
135#line 136 "engines/hypno/tokens_arc.h"
136
137};
138typedef union HYPNO_ARC_STYPE HYPNO_ARC_STYPE;
139# define HYPNO_ARC_STYPE_IS_TRIVIAL 1
140# define HYPNO_ARC_STYPE_IS_DECLARED 1
141#endif
142
143
144extern HYPNO_ARC_STYPE HYPNO_ARC_lval;
145
146
147int HYPNO_ARC_parse (void);
148
149
150#endif /* !YY_HYPNO_ARC_ENGINES_HYPNO_TOKENS_ARC_H_INCLUDED */
Definition: tokens_arc.h:129