| 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_GABC_SCORE_DETERMINATION_GABC_GABC_SCORE_DETERMINATION_Y_H_INCLUDED |
| 39 |
# define YY_GABC_SCORE_DETERMINATION_GABC_GABC_SCORE_DETERMINATION_Y_H_INCLUDED |
| 40 |
/* Debug traces. */ |
| 41 |
#ifndef YYDEBUG |
| 42 |
# define YYDEBUG 0 |
| 43 |
#endif |
| 44 |
#if YYDEBUG |
| 45 |
extern int gabc_score_determination_debug; |
| 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 |
NAME = 258, /* NAME */ |
| 58 |
AUTHOR = 259, /* AUTHOR */ |
| 59 |
GABC_COPYRIGHT = 260, /* GABC_COPYRIGHT */ |
| 60 |
SCORE_COPYRIGHT = 261, /* SCORE_COPYRIGHT */ |
| 61 |
LANGUAGE = 262, /* LANGUAGE */ |
| 62 |
STAFF_LINES = 263, /* STAFF_LINES */ |
| 63 |
ORISCUS_ORIENTATION = 264, /* ORISCUS_ORIENTATION */ |
| 64 |
DEF_MACRO = 265, /* DEF_MACRO */ |
| 65 |
OTHER_HEADER = 266, /* OTHER_HEADER */ |
| 66 |
ANNOTATION = 267, /* ANNOTATION */ |
| 67 |
MODE = 268, /* MODE */ |
| 68 |
MODE_MODIFIER = 269, /* MODE_MODIFIER */ |
| 69 |
MODE_DIFFERENTIA = 270, /* MODE_DIFFERENTIA */ |
| 70 |
END_OF_DEFINITIONS = 271, /* END_OF_DEFINITIONS */ |
| 71 |
END_OF_FILE = 272, /* END_OF_FILE */ |
| 72 |
COLON = 273, /* COLON */ |
| 73 |
SEMICOLON = 274, /* SEMICOLON */ |
| 74 |
CHARACTERS = 275, /* CHARACTERS */ |
| 75 |
NOTES = 276, /* NOTES */ |
| 76 |
HYPHEN = 277, /* HYPHEN */ |
| 77 |
ATTRIBUTE = 278, /* ATTRIBUTE */ |
| 78 |
OPENING_BRACKET = 279, /* OPENING_BRACKET */ |
| 79 |
CLOSING_BRACKET = 280, /* CLOSING_BRACKET */ |
| 80 |
CLOSING_BRACKET_WITH_SPACE = 281, /* CLOSING_BRACKET_WITH_SPACE */ |
| 81 |
I_BEGIN = 282, /* I_BEGIN */ |
| 82 |
I_END = 283, /* I_END */ |
| 83 |
TT_BEGIN = 284, /* TT_BEGIN */ |
| 84 |
TT_END = 285, /* TT_END */ |
| 85 |
UL_BEGIN = 286, /* UL_BEGIN */ |
| 86 |
UL_END = 287, /* UL_END */ |
| 87 |
C_BEGIN = 288, /* C_BEGIN */ |
| 88 |
C_END = 289, /* C_END */ |
| 89 |
B_BEGIN = 290, /* B_BEGIN */ |
| 90 |
B_END = 291, /* B_END */ |
| 91 |
SC_BEGIN = 292, /* SC_BEGIN */ |
| 92 |
SC_END = 293, /* SC_END */ |
| 93 |
SP_BEGIN = 294, /* SP_BEGIN */ |
| 94 |
SP_END = 295, /* SP_END */ |
| 95 |
VERB_BEGIN = 296, /* VERB_BEGIN */ |
| 96 |
VERB_END = 297, /* VERB_END */ |
| 97 |
CENTER_BEGIN = 298, /* CENTER_BEGIN */ |
| 98 |
CENTER_END = 299, /* CENTER_END */ |
| 99 |
ELISION_BEGIN = 300, /* ELISION_BEGIN */ |
| 100 |
ELISION_END = 301, /* ELISION_END */ |
| 101 |
TRANSLATION_BEGIN = 302, /* TRANSLATION_BEGIN */ |
| 102 |
TRANSLATION_END = 303, /* TRANSLATION_END */ |
| 103 |
TRANSLATION_CENTER_END = 304, /* TRANSLATION_CENTER_END */ |
| 104 |
ALT_BEGIN = 305, /* ALT_BEGIN */ |
| 105 |
ALT_END = 306, /* ALT_END */ |
| 106 |
NLBA_B = 307, /* NLBA_B */ |
| 107 |
NLBA_E = 308, /* NLBA_E */ |
| 108 |
EUOUAE_B = 309, /* EUOUAE_B */ |
| 109 |
EUOUAE_E = 310, /* EUOUAE_E */ |
| 110 |
NABC_CUT = 311, /* NABC_CUT */ |
| 111 |
NABC_LINES = 312, /* NABC_LINES */ |
| 112 |
CLEAR = 313, /* CLEAR */ |
| 113 |
PROTRUSION = 314, /* PROTRUSION */ |
| 114 |
PROTRUSION_VALUE = 315, /* PROTRUSION_VALUE */ |
| 115 |
PROTRUSION_END = 316, /* PROTRUSION_END */ |
| 116 |
PROTRUDING_PUNCTUATION = 317 /* PROTRUDING_PUNCTUATION */ |
| 117 |
}; |
| 118 |
typedef enum yytokentype yytoken_kind_t; |
| 119 |
#endif |
| 120 |
/* Token kinds. */ |
| 121 |
#define YYEMPTY -2 |
| 122 |
#define YYEOF 0 |
| 123 |
#define YYerror 256 |
| 124 |
#define YYUNDEF 257 |
| 125 |
#define NAME 258 |
| 126 |
#define AUTHOR 259 |
| 127 |
#define GABC_COPYRIGHT 260 |
| 128 |
#define SCORE_COPYRIGHT 261 |
| 129 |
#define LANGUAGE 262 |
| 130 |
#define STAFF_LINES 263 |
| 131 |
#define ORISCUS_ORIENTATION 264 |
| 132 |
#define DEF_MACRO 265 |
| 133 |
#define OTHER_HEADER 266 |
| 134 |
#define ANNOTATION 267 |
| 135 |
#define MODE 268 |
| 136 |
#define MODE_MODIFIER 269 |
| 137 |
#define MODE_DIFFERENTIA 270 |
| 138 |
#define END_OF_DEFINITIONS 271 |
| 139 |
#define END_OF_FILE 272 |
| 140 |
#define COLON 273 |
| 141 |
#define SEMICOLON 274 |
| 142 |
#define CHARACTERS 275 |
| 143 |
#define NOTES 276 |
| 144 |
#define HYPHEN 277 |
| 145 |
#define ATTRIBUTE 278 |
| 146 |
#define OPENING_BRACKET 279 |
| 147 |
#define CLOSING_BRACKET 280 |
| 148 |
#define CLOSING_BRACKET_WITH_SPACE 281 |
| 149 |
#define I_BEGIN 282 |
| 150 |
#define I_END 283 |
| 151 |
#define TT_BEGIN 284 |
| 152 |
#define TT_END 285 |
| 153 |
#define UL_BEGIN 286 |
| 154 |
#define UL_END 287 |
| 155 |
#define C_BEGIN 288 |
| 156 |
#define C_END 289 |
| 157 |
#define B_BEGIN 290 |
| 158 |
#define B_END 291 |
| 159 |
#define SC_BEGIN 292 |
| 160 |
#define SC_END 293 |
| 161 |
#define SP_BEGIN 294 |
| 162 |
#define SP_END 295 |
| 163 |
#define VERB_BEGIN 296 |
| 164 |
#define VERB_END 297 |
| 165 |
#define CENTER_BEGIN 298 |
| 166 |
#define CENTER_END 299 |
| 167 |
#define ELISION_BEGIN 300 |
| 168 |
#define ELISION_END 301 |
| 169 |
#define TRANSLATION_BEGIN 302 |
| 170 |
#define TRANSLATION_END 303 |
| 171 |
#define TRANSLATION_CENTER_END 304 |
| 172 |
#define ALT_BEGIN 305 |
| 173 |
#define ALT_END 306 |
| 174 |
#define NLBA_B 307 |
| 175 |
#define NLBA_E 308 |
| 176 |
#define EUOUAE_B 309 |
| 177 |
#define EUOUAE_E 310 |
| 178 |
#define NABC_CUT 311 |
| 179 |
#define NABC_LINES 312 |
| 180 |
#define CLEAR 313 |
| 181 |
#define PROTRUSION 314 |
| 182 |
#define PROTRUSION_VALUE 315 |
| 183 |
#define PROTRUSION_END 316 |
| 184 |
#define PROTRUDING_PUNCTUATION 317 |
| 185 |
|
| 186 |
/* Value type. */ |
| 187 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 188 |
typedef int YYSTYPE; |
| 189 |
# define YYSTYPE_IS_TRIVIAL 1 |
| 190 |
# define YYSTYPE_IS_DECLARED 1 |
| 191 |
#endif |
| 192 |
|
| 193 |
/* Location type. */ |
| 194 |
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
| 195 |
typedef struct YYLTYPE YYLTYPE; |
| 196 |
struct YYLTYPE |
| 197 |
{ |
| 198 |
int first_line; |
| 199 |
int first_column; |
| 200 |
int last_line; |
| 201 |
int last_column; |
| 202 |
}; |
| 203 |
# define YYLTYPE_IS_DECLARED 1 |
| 204 |
# define YYLTYPE_IS_TRIVIAL 1 |
| 205 |
#endif |
| 206 |
|
| 207 |
|
| 208 |
extern YYSTYPE gabc_score_determination_lval; |
| 209 |
extern YYLTYPE gabc_score_determination_lloc; |
| 210 |
|
| 211 |
int gabc_score_determination_parse (void); |
| 212 |
|
| 213 |
|
| 214 |
#endif /* !YY_GABC_SCORE_DETERMINATION_GABC_GABC_SCORE_DETERMINATION_Y_H_INCLUDED */ |