155 |
#define yyclearin (yychar = YYEMPTY) |
#define yyclearin (yychar = YYEMPTY) |
156 |
#define YYEMPTY -2 |
#define YYEMPTY -2 |
157 |
#define YYEOF 0 |
#define YYEOF 0 |
158 |
|
|
159 |
#define YYACCEPT goto yyacceptlab |
#define YYACCEPT goto yyacceptlab |
160 |
#define YYABORT goto yyabortlab |
#define YYABORT goto yyabortlab |
161 |
#define YYERROR goto yyerrlab1 |
#define YYERROR goto yyerrlab1 |
162 |
|
|
163 |
/* Like YYERROR except do call yyerror. This remains here temporarily |
/* Like YYERROR except do call yyerror. This remains here temporarily |
164 |
to ease the transition to the new meaning of YYERROR, for GCC. |
to ease the transition to the new meaning of YYERROR, for GCC. |
165 |
Once GCC version 2 has supplanted version 1, this can go. */ |
Once GCC version 2 has supplanted version 1, this can go. */ |
166 |
|
|
167 |
#define YYFAIL goto yyerrlab |
#define YYFAIL goto yyerrlab |
168 |
|
|
169 |
#define YYRECOVERING() (!!yyerrstatus) |
#define YYRECOVERING() (!!yyerrstatus) |
170 |
|
|
171 |
#define YYBACKUP(Token, Value) \ |
#define YYBACKUP(Token, Value) \ |
172 |
do \ |
do \ |
173 |
if (yychar == YYEMPTY && yylen == 1) \ |
if (yychar == YYEMPTY && yylen == 1) \ |
188 |
#define YYTERROR 1 |
#define YYTERROR 1 |
189 |
#define YYERRCODE 256 |
#define YYERRCODE 256 |
190 |
|
|
|
|
|
191 |
/* YYLLOC_DEFAULT -- Compute the default location (before the actions |
/* YYLLOC_DEFAULT -- Compute the default location (before the actions |
192 |
are run). |
are run). |
193 |
|
|
201 |
Current.last_column = Rhs[N].last_column; |
Current.last_column = Rhs[N].last_column; |
202 |
#endif |
#endif |
203 |
|
|
|
|
|
204 |
/* YYLEX -- calling `yylex' with the right arguments. */ |
/* YYLEX -- calling `yylex' with the right arguments. */ |
205 |
|
|
206 |
#if YYPURE |
#if YYPURE |
221 |
# define YYLEX yylex () |
# define YYLEX yylex () |
222 |
#endif /* !YYPURE */ |
#endif /* !YYPURE */ |
223 |
|
|
|
|
|
224 |
/* Enable debugging if requested. */ |
/* Enable debugging if requested. */ |
225 |
#if YYDEBUG |
#if YYDEBUG |
226 |
|
|
260 |
#ifndef YYMAXDEPTH |
#ifndef YYMAXDEPTH |
261 |
# define YYMAXDEPTH 10000 |
# define YYMAXDEPTH 10000 |
262 |
#endif |
#endif |
263 |
|
|
264 |
|
|
265 |
|
|
266 |
#ifdef YYERROR_VERBOSE |
#ifdef YYERROR_VERBOSE |
267 |
|
|
268 |
# ifndef yystrlen |
# ifndef yystrlen |
313 |
} |
} |
314 |
# endif |
# endif |
315 |
# endif |
# endif |
316 |
#endif |
|
317 |
|
#endif /* ! defined (YYERROR_VERBOSE) */ |
318 |
|
|
319 |
|
|
|
#line |
|
320 |
|
|
321 |
/* The user can define YYPARSE_PARAM as the name of an argument to be passed |
/* The user can define YYPARSE_PARAM as the name of an argument to be passed |
322 |
into yyparse. The argument should have type void *. |
into yyparse. The argument should have type void *. |
353 |
/* The lookahead symbol. */ \ |
/* The lookahead symbol. */ \ |
354 |
int yychar; \ |
int yychar; \ |
355 |
\ |
\ |
356 |
/* The semantic value of the lookahead symbol. */ \ |
/* The semantic value of the lookahead symbol. */ \ |
357 |
YYSTYPE yylval; \ |
YYSTYPE yylval; \ |
358 |
\ |
\ |
359 |
/* Number of parse errors so far. */ \ |
/* Number of parse errors so far. */ \ |
370 |
YY_DECL_NON_LSP_VARIABLES |
YY_DECL_NON_LSP_VARIABLES |
371 |
#endif |
#endif |
372 |
|
|
373 |
|
/* If nonreentrant, generate the variables here. */ |
|
/* If nonreentrant, generate the variables here. */ |
|
374 |
|
|
375 |
#if !YYPURE |
#if !YYPURE |
376 |
YY_DECL_VARIABLES |
YY_DECL_VARIABLES |
380 |
yyparse (YYPARSE_PARAM_ARG) |
yyparse (YYPARSE_PARAM_ARG) |
381 |
YYPARSE_PARAM_DECL |
YYPARSE_PARAM_DECL |
382 |
{ |
{ |
383 |
/* If reentrant, generate the variables here. */ |
/* If reentrant, generate the variables here. */ |
384 |
#if YYPURE |
#if YYPURE |
385 |
YY_DECL_VARIABLES |
YY_DECL_VARIABLES |
386 |
#endif /* !YYPURE */ |
#endif /* !YYPURE */ |
401 |
Refer to the stacks thru separate pointers, to allow yyoverflow |
Refer to the stacks thru separate pointers, to allow yyoverflow |
402 |
to reallocate them elsewhere. */ |
to reallocate them elsewhere. */ |
403 |
|
|
404 |
/* The state stack. */ |
/* The state stack. */ |
405 |
short yyssa[YYINITDEPTH]; |
short yyssa[YYINITDEPTH]; |
406 |
short *yyss = yyssa; |
short *yyss = yyssa; |
407 |
register short *yyssp; |
register short *yyssp; |
426 |
|
|
427 |
YYSIZE_T yystacksize = YYINITDEPTH; |
YYSIZE_T yystacksize = YYINITDEPTH; |
428 |
|
|
|
|
|
429 |
/* The variables used to return semantic value and location from the |
/* The variables used to return semantic value and location from the |
430 |
action routines. */ |
action routines. */ |
431 |
YYSTYPE yyval; |
YYSTYPE yyval; |
434 |
#endif |
#endif |
435 |
|
|
436 |
/* When reducing, the number of symbols on the RHS of the reduced |
/* When reducing, the number of symbols on the RHS of the reduced |
437 |
rule. */ |
rule. */ |
438 |
int yylen; |
int yylen; |
439 |
|
|
440 |
YYDPRINTF ((stderr, "Starting parse\n")); |
YYDPRINTF ((stderr, "Starting parse\n")); |
521 |
goto yyoverflowlab; |
goto yyoverflowlab; |
522 |
YYSTACK_RELOCATE (yyss); |
YYSTACK_RELOCATE (yyss); |
523 |
YYSTACK_RELOCATE (yyvs); |
YYSTACK_RELOCATE (yyvs); |
524 |
# if YYLSP_NEEDED |
# if YYLSP_NEEDED |
525 |
YYSTACK_RELOCATE (yyls); |
YYSTACK_RELOCATE (yyls); |
526 |
# endif |
# endif |
527 |
# undef YYSTACK_RELOCATE |
# undef YYSTACK_RELOCATE |
528 |
if (yyss1 != yyssa) |
if (yyss1 != yyssa) |
529 |
YYSTACK_FREE (yyss1); |
YYSTACK_FREE (yyss1); |
530 |
} |
} |
548 |
|
|
549 |
goto yybackup; |
goto yybackup; |
550 |
|
|
|
|
|
551 |
/*-----------. |
/*-----------. |
552 |
| yybackup. | |
| yybackup. | |
553 |
`-----------*/ |
`-----------*/ |
574 |
yychar = YYLEX; |
yychar = YYLEX; |
575 |
} |
} |
576 |
|
|
577 |
/* Convert token to internal form (in yychar1) for indexing tables with */ |
/* Convert token to internal form (in yychar1) for indexing tables with. */ |
578 |
|
|
579 |
if (yychar <= 0) /* This means end of input. */ |
if (yychar <= 0) /* This means end of input. */ |
580 |
{ |
{ |
581 |
yychar1 = 0; |
yychar1 = 0; |
582 |
yychar = YYEOF; /* Don't call YYLEX any more */ |
yychar = YYEOF; /* Don't call YYLEX any more. */ |
583 |
|
|
584 |
YYDPRINTF ((stderr, "Now at end of input.\n")); |
YYDPRINTF ((stderr, "Now at end of input.\n")); |
585 |
} |
} |
791 |
} |
} |
792 |
yyerror (yymsg); |
yyerror (yymsg); |
793 |
YYSTACK_FREE (yymsg); |
YYSTACK_FREE (yymsg); |
794 |
} |
} |
795 |
else |
else |
796 |
yyerror ("parse error; also virtual memory exhausted"); |
yyerror ("parse error; also virtual memory exhausted"); |
797 |
} |
} |
798 |
else |
else |
799 |
#endif /* defined (YYERROR_VERBOSE) */ |
#endif /* defined (YYERROR_VERBOSE) */ |
800 |
yyerror ("parse error"); |
yyerror ("parse error"); |
801 |
} |
} |
802 |
goto yyerrlab1; |
goto yyerrlab1; |
803 |
|
|
804 |
|
|
805 |
/*--------------------------------------------------. |
/*----------------------------------------------------. |
806 |
| yyerrlab1 -- error raised explicitly by an action | |
| yyerrlab1 -- error raised explicitly by an action. | |
807 |
`--------------------------------------------------*/ |
`----------------------------------------------------*/ |
808 |
yyerrlab1: |
yyerrlab1: |
809 |
if (yyerrstatus == 3) |
if (yyerrstatus == 3) |
810 |
{ |
{ |
811 |
/* If just tried and failed to reuse lookahead token after an |
/* If just tried and failed to reuse lookahead token after an |
812 |
error, discard it. */ |
error, discard it. */ |
813 |
|
|
814 |
/* return failure if at end of input */ |
/* Return failure if at end of input. */ |
815 |
if (yychar == YYEOF) |
if (yychar == YYEOF) |
816 |
YYABORT; |
YYABORT; |
817 |
YYDPRINTF ((stderr, "Discarding token %d (%s).\n", |
YYDPRINTF ((stderr, "Discarding token %d (%s).\n", |
822 |
/* Else will try to reuse lookahead token after shifting the error |
/* Else will try to reuse lookahead token after shifting the error |
823 |
token. */ |
token. */ |
824 |
|
|
825 |
yyerrstatus = 3; /* Each real token shifted decrements this */ |
yyerrstatus = 3; /* Each real token shifted decrements this. */ |
826 |
|
|
827 |
goto yyerrhandle; |
goto yyerrhandle; |
828 |
|
|
845 |
|
|
846 |
/*---------------------------------------------------------------. |
/*---------------------------------------------------------------. |
847 |
| yyerrpop -- pop the current state because it cannot handle the | |
| yyerrpop -- pop the current state because it cannot handle the | |
848 |
| error token | |
| error token. | |
849 |
`---------------------------------------------------------------*/ |
`---------------------------------------------------------------*/ |
850 |
yyerrpop: |
yyerrpop: |
851 |
if (yyssp == yyss) |
if (yyssp == yyss) |