ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
ugbc.embed.tab.h
Go to the documentation of this file.
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_EMBED_SRC_GENERATED_UGBC_EMBED_TAB_H_INCLUDED
39# define YY_EMBED_SRC_GENERATED_UGBC_EMBED_TAB_H_INCLUDED
40/* Debug traces. */
41#ifndef YYDEBUG
42# define YYDEBUG 0
43#endif
44#if YYDEBUG
45extern int embeddebug;
46#endif
47
48/* Token kinds. */
49#ifndef YYTOKENTYPE
50# define YYTOKENTYPE
52 {
53 YYEMPTY = -2,
54 YYEOF = 0, /* "end of file" */
55 YYerror = 256, /* error */
56 YYUNDEF = 257, /* "invalid token" */
57 OP = 258, /* OP */
58 CP = 259, /* CP */
59 OP_AT = 260, /* OP_AT */
60 OP_EQUAL = 261, /* OP_EQUAL */
61 OP_DISEQUAL = 262, /* OP_DISEQUAL */
62 OP_AND = 263, /* OP_AND */
63 OP_OR = 264, /* OP_OR */
64 OP_NOT = 265, /* OP_NOT */
65 OP_POINT = 266, /* OP_POINT */
66 OP_LT = 267, /* OP_LT */
67 OP_LTE = 268, /* OP_LTE */
68 OP_GT = 269, /* OP_GT */
69 OP_GTE = 270, /* OP_GTE */
70 OP_COMMA = 271, /* OP_COMMA */
71 OP_TAB = 272, /* OP_TAB */
72 OP_PIPE = 273, /* OP_PIPE */
73 IF = 274, /* IF */
74 ELSE = 275, /* ELSE */
75 ELSEIF = 276, /* ELSEIF */
76 ENDIF = 277, /* ENDIF */
77 EMIT = 278, /* EMIT */
78 AS = 279, /* AS */
79 NewLine = 280, /* NewLine */
80 ATARI = 281, /* ATARI */
81 ATARIXL = 282, /* ATARIXL */
82 C128 = 283, /* C128 */
83 C128Z = 284, /* C128Z */
84 C64 = 285, /* C64 */
85 C64REU = 286, /* C64REU */
86 GB = 287, /* GB */
87 VIC20 = 288, /* VIC20 */
88 ZX = 289, /* ZX */
89 COLECO = 290, /* COLECO */
90 SC3000 = 291, /* SC3000 */
91 SG1000 = 292, /* SG1000 */
92 MSX = 293, /* MSX */
93 MSX1 = 294, /* MSX1 */
94 DRAGON = 295, /* DRAGON */
95 DRAGON32 = 296, /* DRAGON32 */
96 DRAGON64 = 297, /* DRAGON64 */
97 PC1403 = 298, /* PC1403 */
98 PC128OP = 299, /* PC128OP */
99 MO5 = 300, /* MO5 */
100 CPC = 301, /* CPC */
101 COCO = 302, /* COCO */
102 VZ200 = 303, /* VZ200 */
103 COCO1 = 304, /* COCO1 */
104 COCO2 = 305, /* COCO2 */
105 COCO3 = 306, /* COCO3 */
106 MACRO = 307, /* MACRO */
107 ENDMACRO = 308, /* ENDMACRO */
108 INLINE = 309, /* INLINE */
109 BIN = 310, /* BIN */
110 PRG = 311, /* PRG */
111 XEX = 312, /* XEX */
112 K7O = 313, /* K7O */
113 K7N = 314, /* K7N */
114 K7 = 315, /* K7 */
115 TAP = 316, /* TAP */
116 ROM = 317, /* ROM */
117 D64 = 318, /* D64 */
118 DSK = 319, /* DSK */
119 ATR = 320, /* ATR */
120 REU = 321, /* REU */
121 TO8 = 322, /* TO8 */
122 PCCGA = 323, /* PCCGA */
123 SDDRIVE = 324, /* SDDRIVE */
124 Identifier = 325, /* Identifier */
125 Content = 326, /* Content */
126 Value = 327, /* Value */
127 Integer = 328, /* Integer */
128 String = 329 /* String */
129 };
131#endif
132
133/* Value type. */
134#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
136{
137#line 84 "src/ugbc.embed.y"
138
140 char * string;
141
142#line 143 "src-generated/ugbc.embed.tab.h"
143
144};
145typedef union YYSTYPE YYSTYPE;
146# define YYSTYPE_IS_TRIVIAL 1
147# define YYSTYPE_IS_DECLARED 1
148#endif
149
150/* Location type. */
151#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
152typedef struct YYLTYPE YYLTYPE;
160# define YYLTYPE_IS_DECLARED 1
161# define YYLTYPE_IS_TRIVIAL 1
162#endif
163
164
165extern YYSTYPE embedlval;
166extern YYLTYPE embedlloc;
167
168int embedparse (void * _environment);
169
170
171#endif /* !YY_EMBED_SRC_GENERATED_UGBC_EMBED_TAB_H_INCLUDED */
int embeddebug
yytokentype
@ COLECO
@ OP_POINT
@ VIC20
@ Value
@ AS
@ YYEOF
@ ATARI
@ INLINE
@ SDDRIVE
@ Integer
@ OP_LTE
@ MSX1
@ XEX
@ IF
@ CP
@ SG1000
@ COCO1
@ VZ200
@ ATR
@ OP_NOT
@ OP_EQUAL
@ MACRO
@ BIN
@ GB
@ C64REU
@ TO8
@ Content
@ K7N
@ YYerror
@ OP_TAB
@ Identifier
@ YYEMPTY
@ ENDIF
@ C128
@ OP_PIPE
@ DSK
@ DRAGON
@ COCO3
@ TAP
@ OP_COMMA
@ ELSEIF
@ OP_LT
@ ROM
@ EMIT
@ OP
@ ATARIXL
@ YYUNDEF
@ ELSE
@ MSX
@ OP_AT
@ C64
@ NewLine
@ PRG
@ COCO2
@ REU
@ K7
@ OP_GT
@ PC1403
@ OP_GTE
@ PCCGA
@ ENDMACRO
@ ZX
@ String
@ D64
@ OP_AND
@ CPC
@ C128Z
@ MO5
@ DRAGON64
@ K7O
@ OP_OR
@ DRAGON32
@ SC3000
@ OP_DISEQUAL
@ PC128OP
@ COCO
YYLTYPE embedlloc
YYSTYPE embedlval
int embedparse(void *_environment)
enum yytokentype yytoken_kind_t
char * string