2020-07-04 03:47:51 +00:00
|
|
|
/* A Bison parser, made by GNU Bison 3.4.1. */
|
2019-10-18 08:16:52 +00:00
|
|
|
|
|
|
|
/* Bison interface for Yacc-like parsers in C
|
|
|
|
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
|
|
|
|
Inc.
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
|
|
under terms of your choice, so long as that work isn't itself a
|
|
|
|
parser generator using the skeleton or a modified version thereof
|
|
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
|
|
special exception, which will cause the skeleton and the resulting
|
|
|
|
Bison output files to be licensed under the GNU General Public
|
|
|
|
License without this special exception.
|
|
|
|
|
|
|
|
This special exception was added by the Free Software Foundation in
|
|
|
|
version 2.2 of Bison. */
|
|
|
|
|
|
|
|
/* Undocumented macros, especially those whose name start with YY_,
|
|
|
|
are private implementation details. Do not rely on them. */
|
|
|
|
|
2020-07-04 03:47:51 +00:00
|
|
|
#ifndef YY_CUEPARSER_CUE_PARSER_H_INCLUDED
|
|
|
|
# define YY_CUEPARSER_CUE_PARSER_H_INCLUDED
|
2019-10-18 08:16:52 +00:00
|
|
|
/* Debug traces. */
|
2020-07-04 03:47:51 +00:00
|
|
|
#ifndef CUEPARSERDEBUG
|
|
|
|
# if defined YYDEBUG
|
2019-10-18 08:16:52 +00:00
|
|
|
#if YYDEBUG
|
2020-07-04 03:47:51 +00:00
|
|
|
# define CUEPARSERDEBUG 1
|
|
|
|
# else
|
|
|
|
# define CUEPARSERDEBUG 0
|
|
|
|
# endif
|
|
|
|
# else /* ! defined YYDEBUG */
|
|
|
|
# define CUEPARSERDEBUG 0
|
|
|
|
# endif /* ! defined YYDEBUG */
|
|
|
|
#endif /* ! defined CUEPARSERDEBUG */
|
|
|
|
#if CUEPARSERDEBUG
|
|
|
|
extern int cueparserdebug;
|
2019-10-18 08:16:52 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Token type. */
|
2020-07-04 03:47:51 +00:00
|
|
|
#ifndef CUEPARSERTOKENTYPE
|
|
|
|
# define CUEPARSERTOKENTYPE
|
|
|
|
enum cueparsertokentype
|
2019-10-18 08:16:52 +00:00
|
|
|
{
|
|
|
|
NUMBER = 258,
|
|
|
|
STRING = 259,
|
|
|
|
CATALOG = 260,
|
|
|
|
CDTEXTFILE = 261,
|
|
|
|
FFILE = 262,
|
|
|
|
BINARY = 263,
|
|
|
|
MOTOROLA = 264,
|
|
|
|
AIFF = 265,
|
|
|
|
WAVE = 266,
|
|
|
|
MP3 = 267,
|
|
|
|
FLAC = 268,
|
|
|
|
TRACK = 269,
|
|
|
|
AUDIO = 270,
|
|
|
|
MODE1_2048 = 271,
|
|
|
|
MODE1_2352 = 272,
|
|
|
|
MODE2_2336 = 273,
|
|
|
|
MODE2_2048 = 274,
|
|
|
|
MODE2_2342 = 275,
|
|
|
|
MODE2_2332 = 276,
|
|
|
|
MODE2_2352 = 277,
|
|
|
|
TRACK_ISRC = 278,
|
|
|
|
FLAGS = 279,
|
|
|
|
PRE = 280,
|
|
|
|
DCP = 281,
|
|
|
|
FOUR_CH = 282,
|
|
|
|
SCMS = 283,
|
|
|
|
PREGAP = 284,
|
|
|
|
INDEX = 285,
|
|
|
|
POSTGAP = 286,
|
|
|
|
TITLE = 287,
|
|
|
|
PERFORMER = 288,
|
|
|
|
SONGWRITER = 289,
|
|
|
|
COMPOSER = 290,
|
|
|
|
ARRANGER = 291,
|
|
|
|
MESSAGE = 292,
|
|
|
|
DISC_ID = 293,
|
|
|
|
GENRE = 294,
|
|
|
|
TOC_INFO1 = 295,
|
|
|
|
TOC_INFO2 = 296,
|
|
|
|
UPC_EAN = 297,
|
|
|
|
ISRC = 298,
|
|
|
|
SIZE_INFO = 299,
|
|
|
|
DATE = 300,
|
|
|
|
XXX_GENRE = 301,
|
|
|
|
REPLAYGAIN_ALBUM_GAIN = 302,
|
|
|
|
REPLAYGAIN_ALBUM_PEAK = 303,
|
|
|
|
REPLAYGAIN_TRACK_GAIN = 304,
|
|
|
|
REPLAYGAIN_TRACK_PEAK = 305
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Value type. */
|
2020-07-04 03:47:51 +00:00
|
|
|
#if ! defined CUEPARSERSTYPE && ! defined CUEPARSERSTYPE_IS_DECLARED
|
|
|
|
union CUEPARSERSTYPE
|
2019-10-18 08:16:52 +00:00
|
|
|
{
|
2020-07-04 03:47:51 +00:00
|
|
|
#line 58 "cue_parser.y"
|
2019-10-18 08:16:52 +00:00
|
|
|
|
|
|
|
long ival;
|
|
|
|
char *sval;
|
|
|
|
|
2020-07-04 03:47:51 +00:00
|
|
|
#line 121 "cue_parser.h"
|
2019-10-18 08:16:52 +00:00
|
|
|
|
2020-07-04 03:47:51 +00:00
|
|
|
};
|
|
|
|
typedef union CUEPARSERSTYPE CUEPARSERSTYPE;
|
|
|
|
# define CUEPARSERSTYPE_IS_TRIVIAL 1
|
|
|
|
# define CUEPARSERSTYPE_IS_DECLARED 1
|
2019-10-18 08:16:52 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2020-07-04 03:47:51 +00:00
|
|
|
extern CUEPARSERSTYPE cueparserlval;
|
2019-10-18 08:16:52 +00:00
|
|
|
|
2020-07-04 03:47:51 +00:00
|
|
|
int cueparserparse (void);
|
2019-10-18 08:16:52 +00:00
|
|
|
|
2020-07-04 03:47:51 +00:00
|
|
|
#endif /* !YY_CUEPARSER_CUE_PARSER_H_INCLUDED */
|