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
45
extern
int
embeddebug
;
46
#endif
47
48
/* Token kinds. */
49
#ifndef YYTOKENTYPE
50
# define YYTOKENTYPE
51
enum
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
};
130
typedef
enum
yytokentype
yytoken_kind_t
;
131
#endif
132
133
/* Value type. */
134
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
135
union
YYSTYPE
136
{
137
#line 84 "src/ugbc.embed.y"
138
139
int
integer
;
140
char
*
string
;
141
142
#line 143 "src-generated/ugbc.embed.tab.h"
143
144
};
145
typedef
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
152
typedef
struct
YYLTYPE
YYLTYPE
;
153
struct
YYLTYPE
154
{
155
int
first_line
;
156
int
first_column
;
157
int
last_line
;
158
int
last_column
;
159
};
160
# define YYLTYPE_IS_DECLARED 1
161
# define YYLTYPE_IS_TRIVIAL 1
162
#endif
163
164
165
extern
YYSTYPE
embedlval
;
166
extern
YYLTYPE
embedlloc
;
167
168
int
embedparse
(
void
* _environment);
169
170
171
#endif
/* !YY_EMBED_SRC_GENERATED_UGBC_EMBED_TAB_H_INCLUDED */
YYLTYPE
Definition
ugbc.embed.tab.h:154
YYLTYPE::first_column
int first_column
Definition
ugbc.embed.tab.h:156
YYLTYPE::last_line
int last_line
Definition
ugbc.embed.tab.h:157
YYLTYPE::last_column
int last_column
Definition
ugbc.embed.tab.h:158
YYLTYPE::first_line
int first_line
Definition
ugbc.embed.tab.h:155
embeddebug
int embeddebug
Definition
ugbc.embed.tab.c:85
yytokentype
yytokentype
Definition
ugbc.embed.tab.h:52
COLECO
@ COLECO
Definition
ugbc.embed.tab.h:89
OP_POINT
@ OP_POINT
Definition
ugbc.embed.tab.h:65
VIC20
@ VIC20
Definition
ugbc.embed.tab.h:87
Value
@ Value
Definition
ugbc.embed.tab.h:126
AS
@ AS
Definition
ugbc.embed.tab.h:78
YYEOF
@ YYEOF
Definition
ugbc.embed.tab.h:54
ATARI
@ ATARI
Definition
ugbc.embed.tab.h:80
INLINE
@ INLINE
Definition
ugbc.embed.tab.h:108
SDDRIVE
@ SDDRIVE
Definition
ugbc.embed.tab.h:123
Integer
@ Integer
Definition
ugbc.embed.tab.h:127
OP_LTE
@ OP_LTE
Definition
ugbc.embed.tab.h:67
MSX1
@ MSX1
Definition
ugbc.embed.tab.h:93
XEX
@ XEX
Definition
ugbc.embed.tab.h:111
IF
@ IF
Definition
ugbc.embed.tab.h:73
CP
@ CP
Definition
ugbc.embed.tab.h:58
SG1000
@ SG1000
Definition
ugbc.embed.tab.h:91
COCO1
@ COCO1
Definition
ugbc.embed.tab.h:103
VZ200
@ VZ200
Definition
ugbc.embed.tab.h:102
ATR
@ ATR
Definition
ugbc.embed.tab.h:119
OP_NOT
@ OP_NOT
Definition
ugbc.embed.tab.h:64
OP_EQUAL
@ OP_EQUAL
Definition
ugbc.embed.tab.h:60
MACRO
@ MACRO
Definition
ugbc.embed.tab.h:106
BIN
@ BIN
Definition
ugbc.embed.tab.h:109
GB
@ GB
Definition
ugbc.embed.tab.h:86
C64REU
@ C64REU
Definition
ugbc.embed.tab.h:85
TO8
@ TO8
Definition
ugbc.embed.tab.h:121
Content
@ Content
Definition
ugbc.embed.tab.h:125
K7N
@ K7N
Definition
ugbc.embed.tab.h:113
YYerror
@ YYerror
Definition
ugbc.embed.tab.h:55
OP_TAB
@ OP_TAB
Definition
ugbc.embed.tab.h:71
Identifier
@ Identifier
Definition
ugbc.embed.tab.h:124
YYEMPTY
@ YYEMPTY
Definition
ugbc.embed.tab.h:53
ENDIF
@ ENDIF
Definition
ugbc.embed.tab.h:76
C128
@ C128
Definition
ugbc.embed.tab.h:82
OP_PIPE
@ OP_PIPE
Definition
ugbc.embed.tab.h:72
DSK
@ DSK
Definition
ugbc.embed.tab.h:118
DRAGON
@ DRAGON
Definition
ugbc.embed.tab.h:94
COCO3
@ COCO3
Definition
ugbc.embed.tab.h:105
TAP
@ TAP
Definition
ugbc.embed.tab.h:115
OP_COMMA
@ OP_COMMA
Definition
ugbc.embed.tab.h:70
ELSEIF
@ ELSEIF
Definition
ugbc.embed.tab.h:75
OP_LT
@ OP_LT
Definition
ugbc.embed.tab.h:66
ROM
@ ROM
Definition
ugbc.embed.tab.h:116
EMIT
@ EMIT
Definition
ugbc.embed.tab.h:77
OP
@ OP
Definition
ugbc.embed.tab.h:57
ATARIXL
@ ATARIXL
Definition
ugbc.embed.tab.h:81
YYUNDEF
@ YYUNDEF
Definition
ugbc.embed.tab.h:56
ELSE
@ ELSE
Definition
ugbc.embed.tab.h:74
MSX
@ MSX
Definition
ugbc.embed.tab.h:92
OP_AT
@ OP_AT
Definition
ugbc.embed.tab.h:59
C64
@ C64
Definition
ugbc.embed.tab.h:84
NewLine
@ NewLine
Definition
ugbc.embed.tab.h:79
PRG
@ PRG
Definition
ugbc.embed.tab.h:110
COCO2
@ COCO2
Definition
ugbc.embed.tab.h:104
REU
@ REU
Definition
ugbc.embed.tab.h:120
K7
@ K7
Definition
ugbc.embed.tab.h:114
OP_GT
@ OP_GT
Definition
ugbc.embed.tab.h:68
PC1403
@ PC1403
Definition
ugbc.embed.tab.h:97
OP_GTE
@ OP_GTE
Definition
ugbc.embed.tab.h:69
PCCGA
@ PCCGA
Definition
ugbc.embed.tab.h:122
ENDMACRO
@ ENDMACRO
Definition
ugbc.embed.tab.h:107
ZX
@ ZX
Definition
ugbc.embed.tab.h:88
String
@ String
Definition
ugbc.embed.tab.h:128
D64
@ D64
Definition
ugbc.embed.tab.h:117
OP_AND
@ OP_AND
Definition
ugbc.embed.tab.h:62
CPC
@ CPC
Definition
ugbc.embed.tab.h:100
C128Z
@ C128Z
Definition
ugbc.embed.tab.h:83
MO5
@ MO5
Definition
ugbc.embed.tab.h:99
DRAGON64
@ DRAGON64
Definition
ugbc.embed.tab.h:96
K7O
@ K7O
Definition
ugbc.embed.tab.h:112
OP_OR
@ OP_OR
Definition
ugbc.embed.tab.h:63
DRAGON32
@ DRAGON32
Definition
ugbc.embed.tab.h:95
SC3000
@ SC3000
Definition
ugbc.embed.tab.h:90
OP_DISEQUAL
@ OP_DISEQUAL
Definition
ugbc.embed.tab.h:61
PC128OP
@ PC128OP
Definition
ugbc.embed.tab.h:98
COCO
@ COCO
Definition
ugbc.embed.tab.h:101
embedlloc
YYLTYPE embedlloc
embedlval
YYSTYPE embedlval
embedparse
int embedparse(void *_environment)
yytoken_kind_t
enum yytokentype yytoken_kind_t
Definition
ugbc.embed.tab.h:130
YYSTYPE
Definition
ugbc.embed.tab.h:136
YYSTYPE::string
char * string
Definition
ugbc.embed.tab.h:140
YYSTYPE::integer
int integer
Definition
ugbc.embed.tab.h:139
Z:
ugbasic
ugbc
src-generated
ugbc.embed.tab.h
Generated by
1.16.1