list = prefix##_list_last(list); \
*list = item; \
return list; \
+ } \
+ static inline type *prefix##_list_rev(type *list) { \
+ type *l = NULL; \
+ while (list) { \
+ prefix##_list_push(&l, prefix##_list_pop(&list)); \
+ } \
+ return l; \
} \
\
static inline type **prefix##_list_init(type **list) { \
** The following code executes when a syntax error first occurs.
*/
static void yy_syntax_error(
- yyParser *yypParser, /* The parser */
- int yymajor, /* The major type of the error token */
- YYMINORTYPE yyminor /* The minor type of the error token */
+ yyParser *yypParser, /* The parser */
+ int yymajor __attribute__((unused)), /* The major type of the error token */
+ YYMINORTYPE yyminor __attribute__((unused))
+ /* The minor type of the error token */
){
ParseARG_FETCH;
#define TOKEN (yyminor.yy0)