163 |
+ YYSTACK_GAP_MAX) |
+ YYSTACK_GAP_MAX) |
164 |
# endif |
# endif |
165 |
|
|
166 |
|
# if defined (__STDC__) || defined (__cplusplus) |
167 |
|
# define YYPOINTER void * |
168 |
|
# else |
169 |
|
# define YYPOINTER char * |
170 |
|
# endif |
171 |
|
|
172 |
/* Relocate the TYPE STACK from its old location to the new one. The |
/* Relocate the TYPE STACK from its old location to the new one. The |
173 |
local variables YYSIZE and YYSTACKSIZE give the old and new number of |
local variables YYSIZE and YYSTACKSIZE give the old and new number of |
174 |
elements in the stack, and YYPTR gives the new location of the |
elements in the stack, and YYPTR gives the new location of the |
180 |
YYSIZE_T yynewbytes; \ |
YYSIZE_T yynewbytes; \ |
181 |
yymemcpy (yyptr, (char *) (Stack), \ |
yymemcpy (yyptr, (char *) (Stack), \ |
182 |
yysize * (YYSIZE_T) sizeof (Type)); \ |
yysize * (YYSIZE_T) sizeof (Type)); \ |
183 |
(Stack) = (Type *) yyptr; \ |
(Stack) = (Type *) (YYPOINTER) yyptr; \ |
184 |
yynewbytes = yystacksize * sizeof (Type) + YYSTACK_GAP_MAX; \ |
yynewbytes = yystacksize * sizeof (Type) + YYSTACK_GAP_MAX; \ |
185 |
yynewbytes -= yynewbytes % sizeof (union yyalloc); \ |
yynewbytes -= yynewbytes % sizeof (union yyalloc); \ |
186 |
yyptr += yynewbytes; \ |
yyptr += yynewbytes; \ |
472 |
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in |
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in |
473 |
YYDEST. */ |
YYDEST. */ |
474 |
static char * |
static char * |
475 |
# ifndef __cplusplus |
# if defined (__STDC__) || defined (__cplusplus) |
476 |
|
yystpcpy (char *yydest, const char *yysrc) |
477 |
|
# else |
478 |
yystpcpy (yydest, yysrc) |
yystpcpy (yydest, yysrc) |
479 |
char *yydest; |
char *yydest; |
480 |
const char *yysrc; |
const char *yysrc; |
|
# else |
|
|
yystpcpy (char *yydest, const char *yysrc) |
|
481 |
# endif |
# endif |
482 |
{ |
{ |
483 |
register char *yyd = yydest; |
register char *yyd = yydest; |
971 |
yyerror ("parse error; also virtual memory exhausted"); |
yyerror ("parse error; also virtual memory exhausted"); |
972 |
} |
} |
973 |
else |
else |
974 |
#endif /* YYERROR_VERBOSE */ |
#endif /* defined (YYERROR_VERBOSE) */ |
975 |
yyerror ("parse error"); |
yyerror ("parse error"); |
976 |
} |
} |
977 |
goto yyerrlab1; |
goto yyerrlab1; |