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
53 extern 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  KNTOK = 262, /* KNTOK */
70  YXTOK = 263, /* YXTOK */
71  FNTOK = 264, /* FNTOK */
72  ENCTOK = 265, /* ENCTOK */
73  ONTOK = 266, /* ONTOK */
74  H12TOK = 267, /* H12TOK */
75  NUM = 268, /* NUM */
76  BYTE = 269, /* BYTE */
77  COMMENT = 270, /* COMMENT */
78  ALTOK = 271, /* ALTOK */
79  AVTOK = 272, /* AVTOK */
80  ABTOK = 273, /* ABTOK */
81  CTOK = 274, /* CTOK */
82  DTOK = 275, /* DTOK */
83  HTOK = 276, /* HTOK */
84  HETOK = 277, /* HETOK */
85  HLTOK = 278, /* HLTOK */
86  HUTOK = 279, /* HUTOK */
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 95 "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 };
138 typedef 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 
144 extern HYPNO_ARC_STYPE HYPNO_ARC_lval;
145 
146 
147 int HYPNO_ARC_parse (void);
148 
149 
150 #endif /* !YY_HYPNO_ARC_ENGINES_HYPNO_TOKENS_ARC_H_INCLUDED */
Definition: tokens_arc.h:128