1424{
1425 enum { YYARGS_MAX = 5 };
1426
1428
1429
1431
1433
1434
1438
1439 switch (yycount)
1440 {
1441#define YYCASE_(N, S) \
1442 case N: \
1443 yyformat = S; \
1444 break
1445 default:
1447 YYCASE_(1,
YY_(
"syntax error, unexpected %s"));
1448 YYCASE_(2,
YY_(
"syntax error, unexpected %s, expecting %s"));
1449 YYCASE_(3,
YY_(
"syntax error, unexpected %s, expecting %s or %s"));
1450 YYCASE_(4,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s"));
1451 YYCASE_(5,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1452#undef YYCASE_
1453 }
1454
1455
1456
1457 yysize =
yystrlen (yyformat) - 2 * yycount + 1;
1458 {
1459 int yyi;
1460 for (yyi = 0; yyi < yycount; ++yyi)
1461 {
1465 yysize = yysize1;
1466 else
1468 }
1469 }
1470
1471 if (*yymsg_alloc < yysize)
1472 {
1473 *yymsg_alloc = 2 * yysize;
1474 if (! (yysize <= *yymsg_alloc
1477 return -1;
1478 }
1479
1480
1481
1482
1483 {
1484 char *yyp = *yymsg;
1485 int yyi = 0;
1486 while ((*yyp = *yyformat) != '\0')
1487 if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
1488 {
1490 yyformat += 2;
1491 }
1492 else
1493 {
1494 ++yyp;
1495 ++yyformat;
1496 }
1497 }
1498 return 0;
1499}
static YYPTRDIFF_T yystrlen(const char *yystr)
static YYPTRDIFF_T yytnamerr(char *yyres, const char *yystr)
#define YYSTACK_ALLOC_MAXIMUM
static const char *const yytname[]
static int yy_syntax_error_arguments(const yypcontext_t *yyctx, yysymbol_kind_t yyarg[], int yyargn)