1 |
m4_divert(-1) -*- C -*- |
m4_divert(-1) -*- C -*- |
2 |
|
|
3 |
# Yacc compatible skeleton for Bison |
# Yacc compatible skeleton for Bison |
4 |
# Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 |
# Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 |
5 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
6 |
|
|
7 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
134 |
m4_divert(0)dnl |
m4_divert(0)dnl |
135 |
@output @output_parser_name@ |
@output @output_parser_name@ |
136 |
b4_copyright([Skeleton parser for Yacc-like parsing with Bison], |
b4_copyright([Skeleton parser for Yacc-like parsing with Bison], |
137 |
[1984, 1989, 1990, 2000, 2001, 2002])[ |
[1984, 1989, 1990, 2000, 2001, 2002, 2003])[ |
138 |
|
|
139 |
/* As a special exception, when this file is copied by Bison into a |
/* As a special exception, when this file is copied by Bison into a |
140 |
Bison output file, you may use that output file without restriction. |
Bison output file, you may use that output file without restriction. |
465 |
|
|
466 |
#define YYACCEPT goto yyacceptlab |
#define YYACCEPT goto yyacceptlab |
467 |
#define YYABORT goto yyabortlab |
#define YYABORT goto yyabortlab |
468 |
#define YYERROR goto yyerrlab1 |
#define YYERROR ]b4_location_if([do \ |
469 |
|
{ \ |
470 |
|
yylerrsp = yylsp; \ |
471 |
|
*++yylerrsp = yyloc; \ |
472 |
|
goto yyerrlab1; \ |
473 |
|
} \ |
474 |
|
while (0)], |
475 |
|
[goto yyerrlab1])[ |
476 |
|
|
477 |
|
|
478 |
/* Like YYERROR except do call yyerror. This remains here temporarily |
/* Like YYERROR except do call yyerror. This remains here temporarily |
479 |
to ease the transition to the new meaning of YYERROR, for GCC. |
to ease the transition to the new meaning of YYERROR, for GCC. |
1111 |
|
|
1112 |
/* Else will try to reuse lookahead token after shifting the error |
/* Else will try to reuse lookahead token after shifting the error |
1113 |
token. */ |
token. */ |
1114 |
goto yyerrlab2; |
goto yyerrlab1; |
1115 |
|
|
1116 |
|
|
1117 |
/*----------------------------------------------------. |
/*----------------------------------------------------. |
1118 |
| yyerrlab1 -- error raised explicitly by an action. | |
| yyerrlab1 -- error raised explicitly by an action. | |
1119 |
`----------------------------------------------------*/ |
`----------------------------------------------------*/ |
1120 |
yyerrlab1: |
yyerrlab1: |
|
|
|
|
/* Suppress GCC warning that yyerrlab1 is unused when no action |
|
|
invokes YYERROR. */ |
|
|
#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) |
|
|
__attribute__ ((__unused__)) |
|
|
#endif |
|
|
|
|
|
]b4_location_if([ yylerrsp = yylsp; |
|
|
*++yylerrsp = yyloc;])[ |
|
|
goto yyerrlab2; |
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------. |
|
|
| yyerrlab2 -- pop states until the error token can be shifted. | |
|
|
`---------------------------------------------------------------*/ |
|
|
yyerrlab2: |
|
1121 |
yyerrstatus = 3; /* Each real token shifted decrements this. */ |
yyerrstatus = 3; /* Each real token shifted decrements this. */ |
1122 |
|
|
1123 |
for (;;) |
for (;;) |
1196 |
m4_if(b4_defines_flag, 0, [], |
m4_if(b4_defines_flag, 0, [], |
1197 |
[@output @output_header_name@ |
[@output @output_header_name@ |
1198 |
b4_copyright([Skeleton parser for Yacc-like parsing with Bison], |
b4_copyright([Skeleton parser for Yacc-like parsing with Bison], |
1199 |
[1984, 1989, 1990, 2000, 2001, 2002]) |
[1984, 1989, 1990, 2000, 2001, 2002, 2003]) |
1200 |
|
|
1201 |
/* As a special exception, when this file is copied by Bison into a |
/* As a special exception, when this file is copied by Bison into a |
1202 |
Bison output file, you may use that output file without restriction. |
Bison output file, you may use that output file without restriction. |