31 |
It was written by Richard Stallman by simplifying the hairy parser |
It was written by Richard Stallman by simplifying the hairy parser |
32 |
used when %semantic_parser is specified. */ |
used when %semantic_parser is specified. */ |
33 |
|
|
34 |
|
#define YYBISON 1 /* Identify Bison output. */ |
35 |
|
#define YYPURE %%pure /* Identify pure parsers. */ |
36 |
|
|
37 |
#include <stdio.h> |
#include <stdio.h> |
38 |
|
|
39 |
/* If name_prefix is specify substitute the variables and functions |
/* If name_prefix is specify substitute the variables and functions |
40 |
names. */ |
names. */ |
41 |
#define yyparse %%prefix##parse |
#define yyparse %%prefix##parse |
42 |
#define yylex %%prefix##lex |
#define yylex %%prefix##lex |
43 |
#define yyerror %%prefix##error |
#define yyerror %%prefix##error |
44 |
#define yylval %%prefix##lval |
#define yylval %%prefix##lval |
45 |
#define yychar %%prefix##char |
#define yychar %%prefix##char |
46 |
#define yydebug %%prefix##debug |
#define yydebug %%prefix##debug |
47 |
#define yynerrs %%prefix##nerrs |
#define yynerrs %%prefix##nerrs |
48 |
|
|
114 |
# define YYSTACK_FREE(Ptr) free (Ptr) |
# define YYSTACK_FREE(Ptr) free (Ptr) |
115 |
#endif |
#endif |
116 |
|
|
117 |
|
#line %%input-line "%%filename" |
118 |
|
#ifndef YYSTYPE |
119 |
|
typedef %%stype yystype; |
120 |
|
# define YYSTYPE yystype |
121 |
|
#endif |
122 |
|
|
123 |
|
#ifndef YYLTYPE |
124 |
|
typedef struct yyltype |
125 |
|
{ |
126 |
|
int first_line; |
127 |
|
int first_column; |
128 |
|
int last_line; |
129 |
|
int last_column; |
130 |
|
} yyltype; |
131 |
|
# define YYLTYPE %%ltype |
132 |
|
#endif |
133 |
|
|
134 |
|
#line %%line "%%skeleton" |
135 |
/* A type that is properly aligned for any stack member. */ |
/* A type that is properly aligned for any stack member. */ |
136 |
union yyalloc |
union yyalloc |
137 |
{ |
{ |
174 |
} \ |
} \ |
175 |
while (0) |
while (0) |
176 |
|
|
|
#define YYBISON 1 /* Identify Bison output. */ |
|
|
#define YYPURE %%pure /* Identify pure parsers. */ |
|
|
|
|
177 |
#ifndef YYDEBUG |
#ifndef YYDEBUG |
178 |
# define YYDEBUG %%debug |
# define YYDEBUG %%debug |
179 |
#endif |
#endif |
180 |
|
|
|
#line %%input-line "%%filename" |
|
|
#ifndef YYSTYPE |
|
|
typedef %%stype yystype; |
|
|
# define YYSTYPE yystype |
|
|
#endif |
|
|
|
|
|
#ifndef YYLTYPE |
|
|
typedef struct yyltype |
|
|
{ |
|
|
int first_line; |
|
|
int first_column; |
|
|
int last_line; |
|
|
int last_column; |
|
|
} yyltype; |
|
|
# define YYLTYPE %%ltype |
|
|
#endif |
|
|
|
|
181 |
#ifdef YYERROR_VERBOSE |
#ifdef YYERROR_VERBOSE |
182 |
# undef YYERROR_VERBOSE |
# undef YYERROR_VERBOSE |
183 |
#endif |
#endif |