📄 parser.yy.c
字号:
347, 333, 331, 0, 0, 0, 346, 0, 0, 348,
347, 348, 348, 349, 0, 349, 349, 346, 347, 0,
0, 349, 348, 0, 0, 350, 349, 350, 350, 0,
351, 0, 351, 351, 352, 0, 352, 352, 350, 348,
0, 0, 0, 351, 0, 0, 353, 352, 353, 353,
0, 350, 351, 0, 354, 352, 354, 354, 0, 353,
355, 0, 355, 355, 0, 0, 356, 354, 356, 356,
0, 353, 0, 355, 354, 357, 0, 357, 357, 356,
370, 0, 370, 370, 369, 356, 369, 369, 357, 0,
0, 0, 369, 370, 357, 0, 371, 369, 371, 371,
370, 372, 0, 372, 372, 373, 0, 373, 373, 371,
0, 0, 0, 371, 372, 0, 0, 0, 373, 0,
372, 373, 374, 0, 374, 374, 375, 0, 375, 375,
376, 0, 376, 376, 377, 374, 377, 377, 378, 375,
378, 378, 379, 376, 379, 379, 0, 377, 374, 0,
375, 378, 0, 0, 389, 379, 389, 389, 390, 378,
390, 390, 391, 0, 391, 391, 392, 389, 392, 392,
0, 390, 0, 389, 0, 391, 0, 0, 393, 392,
393, 393, 394, 0, 394, 394, 0, 392, 391, 0,
395, 393, 395, 395, 396, 394, 396, 396, 397, 0,
397, 397, 395, 395, 0, 0, 403, 396, 403, 403,
404, 397, 404, 404, 0, 0, 0, 0, 404, 403,
0, 0, 396, 404, 0, 0, 405, 403, 405, 405,
406, 0, 406, 406, 407, 0, 407, 407, 413, 405,
413, 413, 414, 406, 414, 414, 415, 407, 415, 415,
416, 413, 416, 416, 405, 414, 0, 0, 417, 415,
417, 417, 422, 416, 422, 422, 413, 423, 414, 423,
423, 417, 0, 0, 416, 422, 424, 0, 424, 424,
423, 0, 0, 425, 423, 425, 425, 0, 428, 424,
428, 428, 429, 0, 429, 429, 425, 431, 0, 431,
431, 428, 0, 0, 433, 429, 433, 433, 0, 0,
431, 429, 0, 0, 0, 0, 0, 433, 437, 0,
437, 438, 0, 438, 439, 0, 439, 440, 0, 440,
441, 0, 441, 434, 434, 434, 434, 434, 434, 434,
434, 434, 434, 434, 434, 434, 434, 434, 434, 434,
434, 434, 434, 434, 434, 434, 434, 434, 434, 434,
434, 434, 434, 434, 434, 434, 434, 434, 434, 434,
434, 434, 434, 434, 434
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
*/
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "parser.l"
#define INITIAL 0
#line 2 "parser.l"
/*
* This file is part of tMCimg.
*
* tMCimg 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 2 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, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdlib.h>
#include "parser.tab.h"
extern void yyerror(const char *);
int linenumber = 0;
/* Clean up behavior of parser a bit */
#define YY_NO_UNPUT 1
#define YY_NEVER_INTERACTIVE 1
/* Characters allowed in unquoted filenames */
#define INQ 1
#define ENDQ 2
#line 882 "lex.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif
#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen YY_PROTO(( yyconst char * ));
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif
#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif
#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines. This will fail
* miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
* or sizeof(void*) != sizeof(int).
*/
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( yy_current_buffer->yy_is_interactive ) \
{ \
int c = '*', n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp = NULL, *yy_bp = NULL;
register int yy_act;
#line 39 "parser.l"
/* Tokens, most of which can be abreviated */
#line 1036 "lex.yy.c"
if ( yy_init )
{
yy_init = 0;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
if ( ! yy_start )
yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( ! yy_current_buffer )
yy_current_buffer =
yy_create_buffer( yyin, YY_BUF_SIZE );
yy_load_buffer_state();
}
while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = yy_c_buf_p;
/* Support of yytext. */
*yy_cp = yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of
* the current run.
*/
yy_bp = yy_cp;
yy_current_state = yy_start;
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 435 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
while ( yy_base[yy_current_state] != 1494 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act == 0 )
{ /* have to back up */
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
yy_act = yy_accept[yy_current_state];
}
YY_DO_BEFORE_ACTION;
do_action: /* This label is used only to access EOF actions. */
switch ( yy_act )
{ /* beginning of action switch */
case 0: /* must back up */
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yy_hold_char;
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
goto yy_find_action;
case 1:
YY_RULE_SETUP
#line 41 "parser.l"
return NPHOTONS;
YY_BREAK
case 2:
YY_RULE_SETUP
#line 42 "parser.l"
return SEED;
YY_BREAK
case 3:
YY_RULE_SETUP
#line 43 "parser.l"
return SEGFILE;
YY_BREAK
case 4:
YY_RULE_SETUP
#line 44 "parser.l"
return FREQUENCY;
YY_BREAK
case 5:
YY_RULE_SETUP
#line 45 "parser.l"
return CLIGHT;
YY_BREAK
case 6:
YY_RULE_SETUP
#line 47 "parser.l"
return STIME;
YY_BREAK
case 7:
YY_RULE_SETUP
#line 48 "parser.l"
return DTIME;
YY_BREAK
case 8:
YY_RULE_SETUP
#line 49 "parser.l"
return NTIME;
YY_BREAK
case 9:
YY_RULE_SETUP
#line 51 "parser.l"
return TISSUETYPE;
YY_BREAK
case 10:
YY_RULE_SETUP
#line 53 "parser.l"
return MUS;
YY_BREAK
case 11:
YY_RULE_SETUP
#line 54 "parser.l"
return MUA;
YY_BREAK
case 12:
YY_RULE_SETUP
#line 55 "parser.l"
return G;
YY_BREAK
case 13:
YY_RULE_SETUP
#line 56 "parser.l"
return N;
YY_BREAK
case 14:
YY_RULE_SETUP
#line 57 "parser.l"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -