mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 00:45:47 -04:00
dep/libcue: Prefix functions to avoid name clash with glslang
This commit is contained in:
@ -6,6 +6,31 @@
|
||||
|
||||
/* A lexical scanner generated by flex */
|
||||
|
||||
#define yy_create_buffer cueparser_create_buffer
|
||||
#define yy_delete_buffer cueparser_delete_buffer
|
||||
#define yy_scan_buffer cueparser_scan_buffer
|
||||
#define yy_scan_string cueparser_scan_string
|
||||
#define yy_scan_bytes cueparser_scan_bytes
|
||||
#define yy_init_buffer cueparser_init_buffer
|
||||
#define yy_flush_buffer cueparser_flush_buffer
|
||||
#define yy_load_buffer_state cueparser_load_buffer_state
|
||||
#define yy_switch_to_buffer cueparser_switch_to_buffer
|
||||
#define yypush_buffer_state cueparserpush_buffer_state
|
||||
#define yypop_buffer_state cueparserpop_buffer_state
|
||||
#define yyensure_buffer_stack cueparserensure_buffer_stack
|
||||
#define yy_flex_debug cueparser_flex_debug
|
||||
#define yyin cueparserin
|
||||
#define yyleng cueparserleng
|
||||
#define yylex cueparserlex
|
||||
#define yylineno cueparserlineno
|
||||
#define yyout cueparserout
|
||||
#define yyrestart cueparserrestart
|
||||
#define yytext cueparsertext
|
||||
#define yywrap cueparserwrap
|
||||
#define yyalloc cueparseralloc
|
||||
#define yyrealloc cueparserrealloc
|
||||
#define yyfree cueparserfree
|
||||
|
||||
#define FLEX_SCANNER
|
||||
#define YY_FLEX_MAJOR_VERSION 2
|
||||
#define YY_FLEX_MINOR_VERSION 6
|
||||
@ -14,6 +39,240 @@
|
||||
#define FLEX_BETA
|
||||
#endif
|
||||
|
||||
#ifdef yy_create_buffer
|
||||
#define cueparser_create_buffer_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_create_buffer cueparser_create_buffer
|
||||
#endif
|
||||
|
||||
#ifdef yy_delete_buffer
|
||||
#define cueparser_delete_buffer_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_delete_buffer cueparser_delete_buffer
|
||||
#endif
|
||||
|
||||
#ifdef yy_scan_buffer
|
||||
#define cueparser_scan_buffer_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_scan_buffer cueparser_scan_buffer
|
||||
#endif
|
||||
|
||||
#ifdef yy_scan_string
|
||||
#define cueparser_scan_string_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_scan_string cueparser_scan_string
|
||||
#endif
|
||||
|
||||
#ifdef yy_scan_bytes
|
||||
#define cueparser_scan_bytes_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_scan_bytes cueparser_scan_bytes
|
||||
#endif
|
||||
|
||||
#ifdef yy_init_buffer
|
||||
#define cueparser_init_buffer_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_init_buffer cueparser_init_buffer
|
||||
#endif
|
||||
|
||||
#ifdef yy_flush_buffer
|
||||
#define cueparser_flush_buffer_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_flush_buffer cueparser_flush_buffer
|
||||
#endif
|
||||
|
||||
#ifdef yy_load_buffer_state
|
||||
#define cueparser_load_buffer_state_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_load_buffer_state cueparser_load_buffer_state
|
||||
#endif
|
||||
|
||||
#ifdef yy_switch_to_buffer
|
||||
#define cueparser_switch_to_buffer_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_switch_to_buffer cueparser_switch_to_buffer
|
||||
#endif
|
||||
|
||||
#ifdef yypush_buffer_state
|
||||
#define cueparserpush_buffer_state_ALREADY_DEFINED
|
||||
#else
|
||||
#define yypush_buffer_state cueparserpush_buffer_state
|
||||
#endif
|
||||
|
||||
#ifdef yypop_buffer_state
|
||||
#define cueparserpop_buffer_state_ALREADY_DEFINED
|
||||
#else
|
||||
#define yypop_buffer_state cueparserpop_buffer_state
|
||||
#endif
|
||||
|
||||
#ifdef yyensure_buffer_stack
|
||||
#define cueparserensure_buffer_stack_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyensure_buffer_stack cueparserensure_buffer_stack
|
||||
#endif
|
||||
|
||||
#ifdef yylex
|
||||
#define cueparserlex_ALREADY_DEFINED
|
||||
#else
|
||||
#define yylex cueparserlex
|
||||
#endif
|
||||
|
||||
#ifdef yyrestart
|
||||
#define cueparserrestart_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyrestart cueparserrestart
|
||||
#endif
|
||||
|
||||
#ifdef yylex_init
|
||||
#define cueparserlex_init_ALREADY_DEFINED
|
||||
#else
|
||||
#define yylex_init cueparserlex_init
|
||||
#endif
|
||||
|
||||
#ifdef yylex_init_extra
|
||||
#define cueparserlex_init_extra_ALREADY_DEFINED
|
||||
#else
|
||||
#define yylex_init_extra cueparserlex_init_extra
|
||||
#endif
|
||||
|
||||
#ifdef yylex_destroy
|
||||
#define cueparserlex_destroy_ALREADY_DEFINED
|
||||
#else
|
||||
#define yylex_destroy cueparserlex_destroy
|
||||
#endif
|
||||
|
||||
#ifdef yyget_debug
|
||||
#define cueparserget_debug_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_debug cueparserget_debug
|
||||
#endif
|
||||
|
||||
#ifdef yyset_debug
|
||||
#define cueparserset_debug_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyset_debug cueparserset_debug
|
||||
#endif
|
||||
|
||||
#ifdef yyget_extra
|
||||
#define cueparserget_extra_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_extra cueparserget_extra
|
||||
#endif
|
||||
|
||||
#ifdef yyset_extra
|
||||
#define cueparserset_extra_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyset_extra cueparserset_extra
|
||||
#endif
|
||||
|
||||
#ifdef yyget_in
|
||||
#define cueparserget_in_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_in cueparserget_in
|
||||
#endif
|
||||
|
||||
#ifdef yyset_in
|
||||
#define cueparserset_in_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyset_in cueparserset_in
|
||||
#endif
|
||||
|
||||
#ifdef yyget_out
|
||||
#define cueparserget_out_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_out cueparserget_out
|
||||
#endif
|
||||
|
||||
#ifdef yyset_out
|
||||
#define cueparserset_out_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyset_out cueparserset_out
|
||||
#endif
|
||||
|
||||
#ifdef yyget_leng
|
||||
#define cueparserget_leng_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_leng cueparserget_leng
|
||||
#endif
|
||||
|
||||
#ifdef yyget_text
|
||||
#define cueparserget_text_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_text cueparserget_text
|
||||
#endif
|
||||
|
||||
#ifdef yyget_lineno
|
||||
#define cueparserget_lineno_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyget_lineno cueparserget_lineno
|
||||
#endif
|
||||
|
||||
#ifdef yyset_lineno
|
||||
#define cueparserset_lineno_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyset_lineno cueparserset_lineno
|
||||
#endif
|
||||
|
||||
#ifdef yywrap
|
||||
#define cueparserwrap_ALREADY_DEFINED
|
||||
#else
|
||||
#define yywrap cueparserwrap
|
||||
#endif
|
||||
|
||||
#ifdef yyalloc
|
||||
#define cueparseralloc_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyalloc cueparseralloc
|
||||
#endif
|
||||
|
||||
#ifdef yyrealloc
|
||||
#define cueparserrealloc_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyrealloc cueparserrealloc
|
||||
#endif
|
||||
|
||||
#ifdef yyfree
|
||||
#define cueparserfree_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyfree cueparserfree
|
||||
#endif
|
||||
|
||||
#ifdef yytext
|
||||
#define cueparsertext_ALREADY_DEFINED
|
||||
#else
|
||||
#define yytext cueparsertext
|
||||
#endif
|
||||
|
||||
#ifdef yyleng
|
||||
#define cueparserleng_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyleng cueparserleng
|
||||
#endif
|
||||
|
||||
#ifdef yyin
|
||||
#define cueparserin_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyin cueparserin
|
||||
#endif
|
||||
|
||||
#ifdef yyout
|
||||
#define cueparserout_ALREADY_DEFINED
|
||||
#else
|
||||
#define yyout cueparserout
|
||||
#endif
|
||||
|
||||
#ifdef yy_flex_debug
|
||||
#define cueparser_flex_debug_ALREADY_DEFINED
|
||||
#else
|
||||
#define yy_flex_debug cueparser_flex_debug
|
||||
#endif
|
||||
|
||||
#ifdef yylineno
|
||||
#define cueparserlineno_ALREADY_DEFINED
|
||||
#else
|
||||
#define yylineno cueparserlineno
|
||||
#endif
|
||||
|
||||
/* First, we deal with platform-specific or compiler-specific issues. */
|
||||
|
||||
/* begin standard C headers. */
|
||||
@ -343,7 +602,7 @@ void yyfree ( void * );
|
||||
|
||||
/* Begin user sect3 */
|
||||
|
||||
#define yywrap() (/*CONSTCOND*/1)
|
||||
#define cueparserwrap() (/*CONSTCOND*/1)
|
||||
#define YY_SKIP_YYWRAP
|
||||
typedef flex_uint8_t YY_CHAR;
|
||||
|
||||
@ -789,13 +1048,13 @@ char *yytext;
|
||||
#include "cd.h"
|
||||
#include "cue_parser.h"
|
||||
|
||||
char yy_buffer[PARSER_BUFFER];
|
||||
char cueparser_buffer[PARSER_BUFFER];
|
||||
|
||||
int yylex(void);
|
||||
#line 796 "cue_scanner.c"
|
||||
int cueparserlex(void);
|
||||
#line 1055 "cue_scanner.c"
|
||||
#define YY_NO_INPUT 1
|
||||
|
||||
#line 799 "cue_scanner.c"
|
||||
#line 1058 "cue_scanner.c"
|
||||
|
||||
#define INITIAL 0
|
||||
#define NAME 1
|
||||
@ -1009,10 +1268,10 @@ YY_DECL
|
||||
}
|
||||
|
||||
{
|
||||
#line 32 "cue_scanner.l"
|
||||
#line 33 "cue_scanner.l"
|
||||
|
||||
|
||||
#line 1016 "cue_scanner.c"
|
||||
#line 1275 "cue_scanner.c"
|
||||
|
||||
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
|
||||
{
|
||||
@ -1082,351 +1341,351 @@ do_action: /* This label is used only to access EOF actions. */
|
||||
|
||||
case 1:
|
||||
/* rule 1 can match eol */
|
||||
#line 35 "cue_scanner.l"
|
||||
#line 36 "cue_scanner.l"
|
||||
case 2:
|
||||
/* rule 2 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 35 "cue_scanner.l"
|
||||
#line 36 "cue_scanner.l"
|
||||
{
|
||||
yylval.sval = strncpy( yy_buffer,
|
||||
cueparserlval.sval = strncpy( cueparser_buffer,
|
||||
++yytext,
|
||||
(yyleng > sizeof(yy_buffer) ? sizeof(yy_buffer) : yyleng));
|
||||
yylval.sval[(yyleng > sizeof(yy_buffer) ? sizeof(yy_buffer) : yyleng) - 2] = '\0';
|
||||
(yyleng > sizeof(cueparser_buffer) ? sizeof(cueparser_buffer) : yyleng));
|
||||
cueparserlval.sval[(yyleng > sizeof(cueparser_buffer) ? sizeof(cueparser_buffer) : yyleng) - 2] = '\0';
|
||||
BEGIN(INITIAL);
|
||||
return STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 3:
|
||||
YY_RULE_SETUP
|
||||
#line 44 "cue_scanner.l"
|
||||
#line 45 "cue_scanner.l"
|
||||
{
|
||||
yylval.sval = strncpy( yy_buffer,
|
||||
cueparserlval.sval = strncpy( cueparser_buffer,
|
||||
yytext,
|
||||
(yyleng > sizeof(yy_buffer) ? sizeof(yy_buffer) : yyleng));
|
||||
yylval.sval[(yyleng > sizeof(yy_buffer) ? sizeof(yy_buffer) : yyleng)] = '\0';
|
||||
(yyleng > sizeof(cueparser_buffer) ? sizeof(cueparser_buffer) : yyleng));
|
||||
cueparserlval.sval[(yyleng > sizeof(cueparser_buffer) ? sizeof(cueparser_buffer) : yyleng)] = '\0';
|
||||
BEGIN(INITIAL);
|
||||
return STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 4:
|
||||
YY_RULE_SETUP
|
||||
#line 53 "cue_scanner.l"
|
||||
#line 54 "cue_scanner.l"
|
||||
{ BEGIN(NAME); return CATALOG; }
|
||||
YY_BREAK
|
||||
case 5:
|
||||
YY_RULE_SETUP
|
||||
#line 54 "cue_scanner.l"
|
||||
#line 55 "cue_scanner.l"
|
||||
{ BEGIN(NAME); return CDTEXTFILE; }
|
||||
YY_BREAK
|
||||
case 6:
|
||||
YY_RULE_SETUP
|
||||
#line 56 "cue_scanner.l"
|
||||
#line 57 "cue_scanner.l"
|
||||
{ BEGIN(NAME); return FFILE; }
|
||||
YY_BREAK
|
||||
case 7:
|
||||
YY_RULE_SETUP
|
||||
#line 57 "cue_scanner.l"
|
||||
#line 58 "cue_scanner.l"
|
||||
{ return BINARY; }
|
||||
YY_BREAK
|
||||
case 8:
|
||||
YY_RULE_SETUP
|
||||
#line 58 "cue_scanner.l"
|
||||
#line 59 "cue_scanner.l"
|
||||
{ return MOTOROLA; }
|
||||
YY_BREAK
|
||||
case 9:
|
||||
YY_RULE_SETUP
|
||||
#line 59 "cue_scanner.l"
|
||||
#line 60 "cue_scanner.l"
|
||||
{ return AIFF; }
|
||||
YY_BREAK
|
||||
case 10:
|
||||
YY_RULE_SETUP
|
||||
#line 60 "cue_scanner.l"
|
||||
#line 61 "cue_scanner.l"
|
||||
{ return WAVE; }
|
||||
YY_BREAK
|
||||
case 11:
|
||||
YY_RULE_SETUP
|
||||
#line 61 "cue_scanner.l"
|
||||
#line 62 "cue_scanner.l"
|
||||
{ return MP3; }
|
||||
YY_BREAK
|
||||
case 12:
|
||||
YY_RULE_SETUP
|
||||
#line 62 "cue_scanner.l"
|
||||
#line 63 "cue_scanner.l"
|
||||
{ return FLAC; }
|
||||
YY_BREAK
|
||||
case 13:
|
||||
YY_RULE_SETUP
|
||||
#line 64 "cue_scanner.l"
|
||||
#line 65 "cue_scanner.l"
|
||||
{ return TRACK; }
|
||||
YY_BREAK
|
||||
case 14:
|
||||
YY_RULE_SETUP
|
||||
#line 65 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_AUDIO; return AUDIO; }
|
||||
#line 66 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_AUDIO; return AUDIO; }
|
||||
YY_BREAK
|
||||
case 15:
|
||||
YY_RULE_SETUP
|
||||
#line 66 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE1; return MODE1_2048; }
|
||||
#line 67 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE1; return MODE1_2048; }
|
||||
YY_BREAK
|
||||
case 16:
|
||||
YY_RULE_SETUP
|
||||
#line 67 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE1_RAW; return MODE1_2352; }
|
||||
#line 68 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE1_RAW; return MODE1_2352; }
|
||||
YY_BREAK
|
||||
case 17:
|
||||
YY_RULE_SETUP
|
||||
#line 68 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE2; return MODE2_2336; }
|
||||
#line 69 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE2; return MODE2_2336; }
|
||||
YY_BREAK
|
||||
case 18:
|
||||
YY_RULE_SETUP
|
||||
#line 69 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE2_FORM1; return MODE2_2048; }
|
||||
#line 70 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE2_FORM1; return MODE2_2048; }
|
||||
YY_BREAK
|
||||
case 19:
|
||||
YY_RULE_SETUP
|
||||
#line 70 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE2_FORM2; return MODE2_2342; }
|
||||
#line 71 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE2_FORM2; return MODE2_2342; }
|
||||
YY_BREAK
|
||||
case 20:
|
||||
YY_RULE_SETUP
|
||||
#line 71 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE2_FORM_MIX; return MODE2_2332; }
|
||||
#line 72 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE2_FORM_MIX; return MODE2_2332; }
|
||||
YY_BREAK
|
||||
case 21:
|
||||
YY_RULE_SETUP
|
||||
#line 72 "cue_scanner.l"
|
||||
{ yylval.ival = MODE_MODE2_RAW; return MODE2_2352; }
|
||||
#line 73 "cue_scanner.l"
|
||||
{ cueparserlval.ival = MODE_MODE2_RAW; return MODE2_2352; }
|
||||
YY_BREAK
|
||||
case 22:
|
||||
YY_RULE_SETUP
|
||||
#line 74 "cue_scanner.l"
|
||||
#line 75 "cue_scanner.l"
|
||||
{ return FLAGS; }
|
||||
YY_BREAK
|
||||
case 23:
|
||||
YY_RULE_SETUP
|
||||
#line 75 "cue_scanner.l"
|
||||
{ yylval.ival = FLAG_PRE_EMPHASIS; return PRE; }
|
||||
#line 76 "cue_scanner.l"
|
||||
{ cueparserlval.ival = FLAG_PRE_EMPHASIS; return PRE; }
|
||||
YY_BREAK
|
||||
case 24:
|
||||
YY_RULE_SETUP
|
||||
#line 76 "cue_scanner.l"
|
||||
{ yylval.ival = FLAG_COPY_PERMITTED; return DCP; }
|
||||
#line 77 "cue_scanner.l"
|
||||
{ cueparserlval.ival = FLAG_COPY_PERMITTED; return DCP; }
|
||||
YY_BREAK
|
||||
case 25:
|
||||
YY_RULE_SETUP
|
||||
#line 77 "cue_scanner.l"
|
||||
{ yylval.ival = FLAG_FOUR_CHANNEL; return FOUR_CH; }
|
||||
#line 78 "cue_scanner.l"
|
||||
{ cueparserlval.ival = FLAG_FOUR_CHANNEL; return FOUR_CH; }
|
||||
YY_BREAK
|
||||
case 26:
|
||||
YY_RULE_SETUP
|
||||
#line 78 "cue_scanner.l"
|
||||
{ yylval.ival = FLAG_SCMS; return SCMS; }
|
||||
#line 79 "cue_scanner.l"
|
||||
{ cueparserlval.ival = FLAG_SCMS; return SCMS; }
|
||||
YY_BREAK
|
||||
case 27:
|
||||
YY_RULE_SETUP
|
||||
#line 80 "cue_scanner.l"
|
||||
#line 81 "cue_scanner.l"
|
||||
{ return PREGAP; }
|
||||
YY_BREAK
|
||||
case 28:
|
||||
YY_RULE_SETUP
|
||||
#line 81 "cue_scanner.l"
|
||||
#line 82 "cue_scanner.l"
|
||||
{ return INDEX; }
|
||||
YY_BREAK
|
||||
case 29:
|
||||
YY_RULE_SETUP
|
||||
#line 82 "cue_scanner.l"
|
||||
#line 83 "cue_scanner.l"
|
||||
{ return POSTGAP; }
|
||||
YY_BREAK
|
||||
case 30:
|
||||
YY_RULE_SETUP
|
||||
#line 84 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_TITLE; return TITLE; }
|
||||
#line 85 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_TITLE; return TITLE; }
|
||||
YY_BREAK
|
||||
case 31:
|
||||
YY_RULE_SETUP
|
||||
#line 85 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_PERFORMER; return PERFORMER; }
|
||||
#line 86 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_PERFORMER; return PERFORMER; }
|
||||
YY_BREAK
|
||||
case 32:
|
||||
YY_RULE_SETUP
|
||||
#line 86 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_SONGWRITER; return SONGWRITER; }
|
||||
#line 87 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_SONGWRITER; return SONGWRITER; }
|
||||
YY_BREAK
|
||||
case 33:
|
||||
YY_RULE_SETUP
|
||||
#line 87 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_COMPOSER; return COMPOSER; }
|
||||
#line 88 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_COMPOSER; return COMPOSER; }
|
||||
YY_BREAK
|
||||
case 34:
|
||||
YY_RULE_SETUP
|
||||
#line 88 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_ARRANGER; return ARRANGER; }
|
||||
#line 89 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_ARRANGER; return ARRANGER; }
|
||||
YY_BREAK
|
||||
case 35:
|
||||
YY_RULE_SETUP
|
||||
#line 89 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_MESSAGE; return MESSAGE; }
|
||||
#line 90 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_MESSAGE; return MESSAGE; }
|
||||
YY_BREAK
|
||||
case 36:
|
||||
YY_RULE_SETUP
|
||||
#line 90 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_DISC_ID; return DISC_ID; }
|
||||
#line 91 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_DISC_ID; return DISC_ID; }
|
||||
YY_BREAK
|
||||
case 37:
|
||||
YY_RULE_SETUP
|
||||
#line 91 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_GENRE; return GENRE; }
|
||||
#line 92 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_GENRE; return GENRE; }
|
||||
YY_BREAK
|
||||
case 38:
|
||||
YY_RULE_SETUP
|
||||
#line 92 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_TOC_INFO1; return TOC_INFO1; }
|
||||
#line 93 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_TOC_INFO1; return TOC_INFO1; }
|
||||
YY_BREAK
|
||||
case 39:
|
||||
YY_RULE_SETUP
|
||||
#line 93 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_TOC_INFO2; return TOC_INFO2; }
|
||||
#line 94 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_TOC_INFO2; return TOC_INFO2; }
|
||||
YY_BREAK
|
||||
case 40:
|
||||
YY_RULE_SETUP
|
||||
#line 94 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_UPC_ISRC; return UPC_EAN; }
|
||||
#line 95 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_UPC_ISRC; return UPC_EAN; }
|
||||
YY_BREAK
|
||||
case 41:
|
||||
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
||||
(yy_c_buf_p) = yy_cp = yy_bp + 4;
|
||||
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
||||
YY_RULE_SETUP
|
||||
#line 95 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_UPC_ISRC; return ISRC; }
|
||||
#line 96 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_UPC_ISRC; return ISRC; }
|
||||
YY_BREAK
|
||||
case 42:
|
||||
YY_RULE_SETUP
|
||||
#line 96 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_SIZE_INFO; return SIZE_INFO; }
|
||||
#line 97 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_SIZE_INFO; return SIZE_INFO; }
|
||||
YY_BREAK
|
||||
case 43:
|
||||
YY_RULE_SETUP
|
||||
#line 98 "cue_scanner.l"
|
||||
#line 99 "cue_scanner.l"
|
||||
{ BEGIN(NAME); return TRACK_ISRC; }
|
||||
YY_BREAK
|
||||
case 44:
|
||||
YY_RULE_SETUP
|
||||
#line 100 "cue_scanner.l"
|
||||
#line 101 "cue_scanner.l"
|
||||
{ BEGIN(REM); /* exclusive rules for special exceptions */ }
|
||||
YY_BREAK
|
||||
case 45:
|
||||
YY_RULE_SETUP
|
||||
#line 102 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = REM_DATE; return DATE; }
|
||||
#line 103 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = REM_DATE; return DATE; }
|
||||
YY_BREAK
|
||||
case 46:
|
||||
YY_RULE_SETUP
|
||||
#line 103 "cue_scanner.l"
|
||||
{ BEGIN(NAME); yylval.ival = PTI_GENRE; return XXX_GENRE; }
|
||||
#line 104 "cue_scanner.l"
|
||||
{ BEGIN(NAME); cueparserlval.ival = PTI_GENRE; return XXX_GENRE; }
|
||||
YY_BREAK
|
||||
case 47:
|
||||
YY_RULE_SETUP
|
||||
#line 104 "cue_scanner.l"
|
||||
{ BEGIN(RPG); yylval.ival = REM_REPLAYGAIN_ALBUM_GAIN;
|
||||
#line 105 "cue_scanner.l"
|
||||
{ BEGIN(RPG); cueparserlval.ival = REM_REPLAYGAIN_ALBUM_GAIN;
|
||||
return REPLAYGAIN_ALBUM_GAIN; }
|
||||
YY_BREAK
|
||||
case 48:
|
||||
YY_RULE_SETUP
|
||||
#line 106 "cue_scanner.l"
|
||||
{ BEGIN(RPG); yylval.ival = REM_REPLAYGAIN_ALBUM_PEAK;
|
||||
#line 107 "cue_scanner.l"
|
||||
{ BEGIN(RPG); cueparserlval.ival = REM_REPLAYGAIN_ALBUM_PEAK;
|
||||
return REPLAYGAIN_ALBUM_PEAK; }
|
||||
YY_BREAK
|
||||
case 49:
|
||||
YY_RULE_SETUP
|
||||
#line 108 "cue_scanner.l"
|
||||
{ BEGIN(RPG); yylval.ival = REM_REPLAYGAIN_TRACK_GAIN;
|
||||
#line 109 "cue_scanner.l"
|
||||
{ BEGIN(RPG); cueparserlval.ival = REM_REPLAYGAIN_TRACK_GAIN;
|
||||
return REPLAYGAIN_TRACK_GAIN; }
|
||||
YY_BREAK
|
||||
case 50:
|
||||
YY_RULE_SETUP
|
||||
#line 110 "cue_scanner.l"
|
||||
{ BEGIN(RPG); yylval.ival = REM_REPLAYGAIN_TRACK_PEAK;
|
||||
#line 111 "cue_scanner.l"
|
||||
{ BEGIN(RPG); cueparserlval.ival = REM_REPLAYGAIN_TRACK_PEAK;
|
||||
return REPLAYGAIN_TRACK_PEAK; }
|
||||
YY_BREAK
|
||||
case 51:
|
||||
YY_RULE_SETUP
|
||||
#line 113 "cue_scanner.l"
|
||||
#line 114 "cue_scanner.l"
|
||||
{ BEGIN(REM); }
|
||||
YY_BREAK
|
||||
case 52:
|
||||
YY_RULE_SETUP
|
||||
#line 114 "cue_scanner.l"
|
||||
#line 115 "cue_scanner.l"
|
||||
{ BEGIN(REM); }
|
||||
YY_BREAK
|
||||
case 53:
|
||||
/* rule 53 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 115 "cue_scanner.l"
|
||||
#line 116 "cue_scanner.l"
|
||||
{ BEGIN(INITIAL); }
|
||||
YY_BREAK
|
||||
case 54:
|
||||
YY_RULE_SETUP
|
||||
#line 117 "cue_scanner.l"
|
||||
#line 118 "cue_scanner.l"
|
||||
{
|
||||
yylval.sval = strncpy( yy_buffer,
|
||||
cueparserlval.sval = strncpy( cueparser_buffer,
|
||||
yytext,
|
||||
(yyleng > sizeof(yy_buffer) ? sizeof(yy_buffer) : yyleng));
|
||||
yylval.sval[(yyleng > sizeof(yy_buffer) ? sizeof(yy_buffer) : yyleng)] = '\0';
|
||||
(yyleng > sizeof(cueparser_buffer) ? sizeof(cueparser_buffer) : yyleng));
|
||||
cueparserlval.sval[(yyleng > sizeof(cueparser_buffer) ? sizeof(cueparser_buffer) : yyleng)] = '\0';
|
||||
BEGIN(SKIP);
|
||||
return STRING;
|
||||
}
|
||||
YY_BREAK
|
||||
case 55:
|
||||
YY_RULE_SETUP
|
||||
#line 126 "cue_scanner.l"
|
||||
#line 127 "cue_scanner.l"
|
||||
{ BEGIN(RPG); }
|
||||
YY_BREAK
|
||||
case 56:
|
||||
/* rule 56 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 128 "cue_scanner.l"
|
||||
#line 129 "cue_scanner.l"
|
||||
{ BEGIN(INITIAL); yylineno++; return '\n'; }
|
||||
YY_BREAK
|
||||
case 57:
|
||||
YY_RULE_SETUP
|
||||
#line 130 "cue_scanner.l"
|
||||
#line 131 "cue_scanner.l"
|
||||
{ /* ignore whitespace */ }
|
||||
YY_BREAK
|
||||
case 58:
|
||||
YY_RULE_SETUP
|
||||
#line 132 "cue_scanner.l"
|
||||
{ yylval.ival = atoi(yytext); return NUMBER; }
|
||||
#line 133 "cue_scanner.l"
|
||||
{ cueparserlval.ival = atoi(yytext); return NUMBER; }
|
||||
YY_BREAK
|
||||
case 59:
|
||||
YY_RULE_SETUP
|
||||
#line 133 "cue_scanner.l"
|
||||
#line 134 "cue_scanner.l"
|
||||
{ return yytext[0]; }
|
||||
YY_BREAK
|
||||
case 60:
|
||||
/* rule 60 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 135 "cue_scanner.l"
|
||||
#line 136 "cue_scanner.l"
|
||||
{ yylineno++; /* blank line */ }
|
||||
YY_BREAK
|
||||
case 61:
|
||||
/* rule 61 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 136 "cue_scanner.l"
|
||||
#line 137 "cue_scanner.l"
|
||||
{ yylineno++; return '\n'; }
|
||||
YY_BREAK
|
||||
case 62:
|
||||
YY_RULE_SETUP
|
||||
#line 137 "cue_scanner.l"
|
||||
#line 138 "cue_scanner.l"
|
||||
{ fprintf(stderr, "bad character '%c'\n", yytext[0]); }
|
||||
YY_BREAK
|
||||
case 63:
|
||||
YY_RULE_SETUP
|
||||
#line 139 "cue_scanner.l"
|
||||
#line 140 "cue_scanner.l"
|
||||
ECHO;
|
||||
YY_BREAK
|
||||
#line 1430 "cue_scanner.c"
|
||||
#line 1689 "cue_scanner.c"
|
||||
case YY_STATE_EOF(INITIAL):
|
||||
case YY_STATE_EOF(NAME):
|
||||
case YY_STATE_EOF(REM):
|
||||
@ -2408,6 +2667,6 @@ void yyfree (void * ptr )
|
||||
|
||||
#define YYTABLES_NAME "yytables"
|
||||
|
||||
#line 139 "cue_scanner.l"
|
||||
#line 140 "cue_scanner.l"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user