AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
path_data_parser.hpp
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_D_C_CODE_AEONGUI_MINGW64_CORE_PATH_DATA_PARSER_HPP_INCLUDED
39
# define YY_D_C_CODE_AEONGUI_MINGW64_CORE_PATH_DATA_PARSER_HPP_INCLUDED
40
/* Debug traces. */
41
#ifndef DDEBUG
42
# if defined YYDEBUG
43
#if YYDEBUG
44
# define DDEBUG 1
45
# else
46
# define DDEBUG 0
47
# endif
48
# else
/* ! defined YYDEBUG */
49
# define DDEBUG 0
50
# endif
/* ! defined YYDEBUG */
51
#endif
/* ! defined DDEBUG */
52
#if DDEBUG
53
extern
int
ddebug;
54
#endif
55
/* "%code requires" blocks. */
56
#line 15 "C:/Code/AeonGUI/core/parsers/path_data.ypp"
57
58
/*
59
Copyright (C) 2019-2021,2023,2025 Rodrigo Jose Hernandez Cordoba
60
Licensed under the Apache License, Version 2.0 (the "License");
61
you may not use this file except in compliance with the License.
62
You may obtain a copy of the License at
63
http://www.apache.org/licenses/LICENSE-2.0
64
Unless required by applicable law or agreed to in writing, software
65
distributed under the License is distributed on an "AS IS" BASIS,
66
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
67
See the License for the specific language governing permissions and
68
limitations under the License.
69
*/
70
71
#line 72 "C:/Code/AeonGUI/mingw64/core/path_data_parser.hpp"
72
73
/* Token kinds. */
74
#ifndef DTOKENTYPE
75
# define DTOKENTYPE
76
enum
dtokentype
77
{
78
DEMPTY = -2,
79
DEOF = 0,
/* "end of file" */
80
Derror = 256,
/* error */
81
DUNDEF = 257,
/* "invalid token" */
82
NUMBER = 258
/* NUMBER */
83
};
84
typedef
enum
dtokentype dtoken_kind_t;
85
#endif
86
87
/* Value type. */
88
#if ! defined DSTYPE && ! defined DSTYPE_IS_DECLARED
89
typedef
int
DSTYPE;
90
# define DSTYPE_IS_TRIVIAL 1
91
# define DSTYPE_IS_DECLARED 1
92
#endif
93
94
95
extern
DSTYPE dlval;
96
97
98
int
dparse ( std::vector<AeonGUI::DrawType>& aPath );
99
100
101
#endif
/* !YY_D_C_CODE_AEONGUI_MINGW64_CORE_PATH_DATA_PARSER_HPP_INCLUDED */
core
parsers
path_data_parser.hpp
Generated by
1.16.1