102 |
+ YYSTACK_GAP_MAX) |
+ YYSTACK_GAP_MAX) |
103 |
# endif |
# endif |
104 |
|
|
105 |
|
# if defined (__STDC__) || defined (__cplusplus) |
106 |
|
# define YYPOINTER void * |
107 |
|
# else |
108 |
|
# define YYPOINTER char * |
109 |
|
# endif |
110 |
|
|
111 |
/* 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 |
112 |
local variables YYSIZE and YYSTACKSIZE give the old and new number of |
local variables YYSIZE and YYSTACKSIZE give the old and new number of |
113 |
elements in the stack, and YYPTR gives the new location of the |
elements in the stack, and YYPTR gives the new location of the |
119 |
YYSIZE_T yynewbytes; \ |
YYSIZE_T yynewbytes; \ |
120 |
yymemcpy (yyptr, (char *) (Stack), \ |
yymemcpy (yyptr, (char *) (Stack), \ |
121 |
yysize * (YYSIZE_T) sizeof (Type)); \ |
yysize * (YYSIZE_T) sizeof (Type)); \ |
122 |
(Stack) = (Type *) yyptr; \ |
(Stack) = (Type *) (YYPOINTER) yyptr; \ |
123 |
yynewbytes = yystacksize * sizeof (Type) + YYSTACK_GAP_MAX; \ |
yynewbytes = yystacksize * sizeof (Type) + YYSTACK_GAP_MAX; \ |
124 |
yynewbytes -= yynewbytes % sizeof (union yyalloc); \ |
yynewbytes -= yynewbytes % sizeof (union yyalloc); \ |
125 |
yyptr += yynewbytes; \ |
yyptr += yynewbytes; \ |
307 |
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in |
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in |
308 |
YYDEST. */ |
YYDEST. */ |
309 |
static char * |
static char * |
310 |
# ifndef __cplusplus |
# if defined (__STDC__) || defined (__cplusplus) |
311 |
|
yystpcpy (char *yydest, const char *yysrc) |
312 |
|
# else |
313 |
yystpcpy (yydest, yysrc) |
yystpcpy (yydest, yysrc) |
314 |
char *yydest; |
char *yydest; |
315 |
const char *yysrc; |
const char *yysrc; |
|
# else |
|
|
yystpcpy (char *yydest, const char *yysrc) |
|
316 |
# endif |
# endif |
317 |
{ |
{ |
318 |
register char *yyd = yydest; |
register char *yyd = yydest; |
803 |
yyerror ("parse error; also virtual memory exhausted"); |
yyerror ("parse error; also virtual memory exhausted"); |
804 |
} |
} |
805 |
else |
else |
806 |
#endif /* YYERROR_VERBOSE */ |
#endif /* defined (YYERROR_VERBOSE) */ |
807 |
yyerror ("parse error"); |
yyerror ("parse error"); |
808 |
} |
} |
809 |
goto yyerrlab1; |
goto yyerrlab1; |