RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
src
script
parse.tab.hh
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_YY_SRC_SCRIPT_PARSE_TAB_HH_INCLUDED
39
# define YY_YY_SRC_SCRIPT_PARSE_TAB_HH_INCLUDED
40
/* Debug traces. */
41
#ifndef YYDEBUG
42
# define YYDEBUG 0
43
#endif
44
#if YYDEBUG
45
extern
int
yydebug;
46
#endif
47
/* "%code requires" blocks. */
48
#line 3 "src/script/parse.yy"
49
50
#include "script.h"
51
using namespace
Script;
52
53
#line 54 "src/script/parse.tab.hh"
54
55
/* Token kinds. */
56
#ifndef YYTOKENTYPE
57
# define YYTOKENTYPE
58
enum
yytokentype
59
{
60
YYEMPTY = -2,
61
YYEOF = 0,
/* "end of file" */
62
YYerror = 256,
/* error */
63
YYUNDEF = 257,
/* "invalid token" */
64
ALIGN = 258,
/* ALIGN */
65
ALL = 259,
/* ALL */
66
AND = 260,
/* AND */
67
ANY = 261,
/* ANY */
68
AT = 262,
/* AT */
69
BASE = 263,
/* BASE */
70
CUSTOMFLAG = 264,
/* CUSTOMFLAG */
71
EXECUTE = 265,
/* EXECUTE */
72
FIXED = 266,
/* FIXED */
73
FOR = 267,
/* FOR */
74
HEAP = 268,
/* HEAP */
75
HERE = 269,
/* HERE */
76
IDENTIFIER = 270,
/* IDENTIFIER */
77
INTEGER = 271,
/* INTEGER */
78
MAXIMUM = 272,
/* MAXIMUM */
79
MERGE = 273,
/* MERGE */
80
MINIMUM = 274,
/* MINIMUM */
81
NOT = 275,
/* NOT */
82
OF = 276,
/* OF */
83
OPTIONAL = 277,
/* OPTIONAL */
84
OR = 278,
/* OR */
85
PARAMETER = 279,
/* PARAMETER */
86
READ = 280,
/* READ */
87
RESOURCE = 281,
/* RESOURCE */
88
SIZE = 282,
/* SIZE */
89
STACK = 283,
/* STACK */
90
START = 284,
/* START */
91
SUFFIX = 285,
/* SUFFIX */
92
WRITE = 286,
/* WRITE */
93
ZERO = 287,
/* ZERO */
94
LL = 288,
/* LL */
95
RR = 289,
/* RR */
96
UNARY = 290
/* UNARY */
97
};
98
typedef
enum
yytokentype yytoken_kind_t;
99
#endif
100
101
/* Value type. */
102
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
103
union
YYSTYPE
104
{
105
#line 19 "src/script/parse.yy"
106
107
char
* s;
108
long
i;
109
class
Node
* n;
110
class
List
* l;
111
112
#line 113 "src/script/parse.tab.hh"
113
114
};
115
typedef
union
YYSTYPE
YYSTYPE
;
116
# define YYSTYPE_IS_TRIVIAL 1
117
# define YYSTYPE_IS_DECLARED 1
118
#endif
119
120
121
extern
YYSTYPE
yylval;
122
123
124
int
yyparse (
void
);
125
126
127
#endif
/* !YY_YY_SRC_SCRIPT_PARSE_TAB_HH_INCLUDED */
Script::List
Definition
script.h:62
Script::Node
Definition
script.h:104
YYSTYPE
Definition
parse.tab.hh:104
Generated by
1.10.0