Lines Matching +full:3 +full:- +full:line

10 #define YYEMPTY        (-1)
14 #define YYENOMEM (-2)
100 #line 9 "grammar.y"
110 #line 81 "grammar.y"
127 #define TEXT_LEN (MAX_TEXT_SIZE / 2 - 3)
131 #define PROTO_ANSI_LLIB -2 /* form ANSI lint-library source */
132 #define PROTO_LINTLIBRARY -1 /* form lint-library source */
137 #define PROTO_ANSI 3 /* ANSI C prototype */
151 #define FUNC_UNKNOWN -1 /* unspecified */
158 #define FUNC_BOTH 3 /* both styles */
326 * the parameter declaration on the same line. If the lexer scans a comment
329 * after scanning a comment or end of line.
350 unsigned line_num; /* current line number in input file */
367 static int return_val; /* nonzero on BRACES iff return-expression found */
380 for (p = func_params->first; p != 0; p = p->next) { in haveAnsiParam()
381 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
388 #line 389 "grammar.tab.c"
458 static const YYINT grammar_lhs[] = { -1,
462 36, 36, 40, 40, 1, 1, 2, 2, 2, 3,
463 3, 3, 3, 3, 3, 4, 4, 4, 4, 4,
473 0, 1, 1, 2, 1, 1, 1, 1, 3, 2,
474 2, 2, 3, 3, 2, 3, 0, 5, 2, 1,
475 0, 1, 1, 3, 0, 0, 7, 0, 5, 0,
479 1, 1, 3, 2, 2, 1, 1, 1, 3, 1,
480 0, 4, 3, 2, 2, 1, 1, 1, 2, 1,
481 1, 3, 2, 4, 4, 2, 3, 0, 1, 1,
482 2, 1, 3, 1, 3, 2, 2, 1, 0, 1,
483 1, 3, 1, 2, 1, 2, 1, 3, 2, 1,
484 4, 3, 3, 2,
491 28, 0, 0, 0, 103, 81, 0, 0, 3, 5,
510 static const YYINT grammar_sindex[] = { -2,
511 -3, 27, -239, -177, 0, 0, 0, 0, -274, 0,
512 0, 0, 0, -246, 0, 0, 0, 0, 0, 0,
514 -266, 0, 0, 455, 0, 0, 0, 0, 0, 0,
515 0, -35, -245, 128, 0, 0, -245, -2, 0, 0,
516 0, 0, 642, 0, 0, 0, -15, 0, -12, -239,
517 0, 590, 0, -27, 0, 0, 0, 0, -10, 0,
518 -11, 534, -72, 0, -237, -232, 0, -35, -232, 0,
520 0, 27, 0, 534, 0, 0, -222, 617, 209, 34,
521 39, 0, 44, 42, 0, 0, 0, 0, 27, -11,
522 0, -200, -196, -195, 0, 174, 0, 0, 0, -33,
523 243, 0, 561, 0, -177, 0, 33, 49, 0, 0,
524 0, 0, 53, 55, 417, 0, -33, 0, 0, 0,
525 0, 27, -188, 0, 0, 0, 57, 0, 0, 0,
528 0, 0, 275, 0, 0, -38, 0, 0, 481, 0,
535 98, -182, 62, 0, 0, 133, 0, 64, 379, 0,
536 0, 0, -5, 0, 0, 0, 0, 0, 0, 0,
537 0, 0, 0, -182, 0, 0, 0, -180, -19, 0,
539 0, 0, 0, 0, 0, 0, 0, 0, 0, -13,
545 11, -17, 0, 0, 13, 0, 0, 0, 20, 8,
546 -43, -1, -8, -89, 0, -9, 0, 0, 0, -44,
547 0, 0, 4, 0, 0, 0, 70, -53, 0, 0,
548 -18, 0, 0, 0, 0, 22, 0, 0, 0, 0,
555 58, 98, 78, 64, 98, 84, 134, 107, 80, 3,
556 107, 90, 17, 92, 17, 4, 17, 2, 75, 3,
559 108, 114, 105, 83, 4, 68, 2, 70, 3, 68,
574 0, 4, 0, 116, 132, 3, 0, 0, 58, 58,
578 3, 17, 78, 1, 5, 6, 7, 8, 9, 10,
602 30, 117, 4, 0, 2, 0, 3, 0, 0, 5,
649 0, 257, 258, 288, 59, 3, 34, 264, 72, 259,
659 59, 92, 121, 123, 116, 94, 109, 48, -1, -1,
660 -1, -1, 59, 116, 61, -1, 116, -1, 125, -1,
661 -1, -1, -1, 123, -1, -1, -1, -1, -1, -1,
662 -1, 44, -1, -1, -1, 135, -1, -1, -1, 142,
663 -1, -1, -1, -1, -1, -1, 59, -1, -1, -1,
664 -1, -1, -1, -1, -1, 38, -1, 40, -1, -1,
665 38, -1, 40, 41, 42, -1, 44, -1, -1, -1,
666 -1, -1, -1, -1, 257, 258, 259, 260, 261, 262,
669 -1, 38, -1, 40, 41, 42, -1, -1, 257, 258,
676 38, 285, 40, 257, 258, -1, 289, 258, 259, 260,
679 281, 282, 38, 284, 40, 41, 42, -1, 44, -1,
683 42, -1, 44, -1, 291, 258, 259, 260, 261, 262,
686 38, 284, 40, 41, 257, 258, 44, -1, 291, 257,
687 258, 259, 260, 261, 262, 263, -1, 265, 266, 267,
689 278, 279, 280, 281, 282, 283, 38, -1, 40, 41,
690 42, -1, 44, -1, -1, -1, -1, -1, -1, -1,
693 277, 278, 279, 280, 281, 282, 283, 41, -1, -1,
694 -1, -1, -1, -1, -1, 257, 258, 259, 260, 261,
695 262, 263, -1, 265, 266, 267, 268, 269, 270, 271,
697 282, 283, 38, -1, 40, -1, 42, -1, -1, 257,
698 258, -1, -1, -1, -1, -1, -1, -1, -1, -1,
699 -1, -1, -1, 59, -1, -1, -1, -1, 38, -1,
700 40, -1, 42, -1, -1, 283, -1, -1, -1, -1,
701 -1, 257, 258, -1, -1, -1, -1, -1, -1, 59,
702 -1, -1, -1, -1, -1, -1, 38, -1, 40, -1,
703 42, -1, -1, -1, -1, -1, -1, 283, -1, -1,
704 -1, -1, -1, -1, -1, 257, 258, 59, -1, -1,
705 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
706 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
707 -1, 283, -1, -1, -1, -1, -1, -1, -1, 257,
708 258, -1, -1, -1, -1, -1, -1, -1, -1, -1,
709 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
710 -1, -1, -1, -1, -1, 283, -1, -1, -1, -1,
711 -1, -1, -1, -1, -1, 257, 258, 259, 260, 261,
712 262, 263, -1, 265, 266, 267, 268, 269, 270, 271,
714 282, 283, -1, -1, -1, -1, -1, -1, -1, -1,
715 -1, -1, -1, -1, 258, 259, 260, 261, 262, 263,
716 -1, 265, 266, 267, 268, 269, 270, 271, 272, 273,
717 274, 275, 276, 277, 278, 279, 280, 281, 282, -1,
718 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
719 -1, 257, 258, 259, 260, 261, 262, 263, -1, 265,
722 260, 261, 262, 263, -1, 265, 266, 267, 268, 269,
724 280, 281, 282, -1, -1, 257, 258, 259, 260, 261,
725 262, 263, -1, 265, 266, 267, 268, 269, 270, 271,
729 277, 278, 279, 280, 281, 282, -1, -1, 258, 259,
732 280, 281, 282, -1, -1, -1, 286, 258, 259, 260,
735 281, 282, -1, 284, 258, 259, 260, 261, 262, 263,
738 259, 260, 261, 262, 263, -1, 265, 266, 267, 268,
752 "end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
766 "illegal-symbol",
795 "$$3 :",
796 "function_definition : decl_specifiers declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRA…
898 /* define the initial stack-sizes */
923 #line 1015 "grammar.y"
930 #define INIT2 3
951 put_error(); /* tell what line we're on, and what file */ in yaccError()
1045 s = name + strlen(name) - 2; in process_file()
1060 inc_depth = -1; in process_file()
1094 #line 1095 "grammar.tab.c"
1111 if ((newsize = data->stacksize) == 0) in yygrowstack()
1118 i = (int) (data->s_mark - data->s_base); in yygrowstack()
1119 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss)); in yygrowstack()
1123 data->s_base = newss; in yygrowstack()
1124 data->s_mark = newss + i; in yygrowstack()
1126 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs)); in yygrowstack()
1130 data->l_base = newvs; in yygrowstack()
1131 data->l_mark = newvs + i; in yygrowstack()
1133 data->stacksize = newsize; in yygrowstack()
1134 data->s_last = data->s_base + newsize - 1; in yygrowstack()
1141 free(data->s_base); in yyfreestack()
1142 free(data->l_base); in yyfreestack()
1165 yydebug = yyn - '0'; in YYPARSE_DECL()
1214 if (yyerrflag > 0) --yyerrflag; in YYPARSE_DECL()
1232 if (yyerrflag < 3) in YYPARSE_DECL()
1234 yyerrflag = 3; in YYPARSE_DECL()
1259 --yystack.s_mark; in YYPARSE_DECL()
1260 --yystack.l_mark; in YYPARSE_DECL()
1287 yyval = yystack.l_mark[1-yym]; in YYPARSE_DECL()
1294 #line 378 "grammar.y" in YYPARSE_DECL()
1298 #line 1299 "grammar.tab.c" in YYPARSE_DECL()
1301 #line 382 "grammar.y" in YYPARSE_DECL()
1305 #line 1306 "grammar.tab.c" in YYPARSE_DECL()
1308 #line 393 "grammar.y" in YYPARSE_DECL()
1315 #line 1316 "grammar.tab.c" in YYPARSE_DECL()
1318 #line 400 "grammar.y" in YYPARSE_DECL()
1322 #line 1323 "grammar.tab.c" in YYPARSE_DECL()
1325 #line 407 "grammar.y" in YYPARSE_DECL()
1329 gen_declarations(&yystack.l_mark[-1].decl_spec, (DeclaratorList *)0); in YYPARSE_DECL()
1333 free_decl_spec(&yystack.l_mark[-1].decl_spec); in YYPARSE_DECL()
1336 #line 1337 "grammar.tab.c" in YYPARSE_DECL()
1339 #line 418 "grammar.y" in YYPARSE_DECL()
1342 set_param_types(func_params, &yystack.l_mark[-2].decl_spec, &yystack.l_mark[-1].decl_list); in YYPARSE_DECL()
1344 gen_declarations(&yystack.l_mark[-2].decl_spec, &yystack.l_mark[-1].decl_list); in YYPARSE_DECL()
1348 free_decl_list(&yystack.l_mark[-1].decl_list); in YYPARSE_DECL()
1350 free_decl_spec(&yystack.l_mark[-2].decl_spec); in YYPARSE_DECL()
1353 #line 1354 "grammar.tab.c" in YYPARSE_DECL()
1356 #line 432 "grammar.y" in YYPARSE_DECL()
1361 #line 1362 "grammar.tab.c" in YYPARSE_DECL()
1364 #line 437 "grammar.y" in YYPARSE_DECL()
1368 #line 1369 "grammar.tab.c" in YYPARSE_DECL()
1371 #line 444 "grammar.y" in YYPARSE_DECL()
1375 #line 1376 "grammar.tab.c" in YYPARSE_DECL()
1378 #line 448 "grammar.y" in YYPARSE_DECL()
1382 #line 1383 "grammar.tab.c" in YYPARSE_DECL()
1385 #line 460 "grammar.y" in YYPARSE_DECL()
1392 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL()
1394 new_symbol(typedef_names, yystack.l_mark[0].declarator->name, NULL, flags); in YYPARSE_DECL()
1397 #line 1398 "grammar.tab.c" in YYPARSE_DECL()
1400 #line 472 "grammar.y" in YYPARSE_DECL()
1404 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL()
1406 new_symbol(typedef_names, yystack.l_mark[0].declarator->name, NULL, flags); in YYPARSE_DECL()
1409 #line 1410 "grammar.tab.c" in YYPARSE_DECL()
1412 #line 484 "grammar.y" in YYPARSE_DECL()
1414 check_untagged(&yystack.l_mark[-1].decl_spec); in YYPARSE_DECL()
1415 if (yystack.l_mark[0].declarator->func_def == FUNC_NONE) { in YYPARSE_DECL()
1419 func_params = &(yystack.l_mark[0].declarator->head->params); in YYPARSE_DECL()
1420 func_params->begin_comment = cur_file->begin_comment; in YYPARSE_DECL()
1421 func_params->end_comment = cur_file->end_comment; in YYPARSE_DECL()
1423 #line 1424 "grammar.tab.c" in YYPARSE_DECL()
1426 #line 495 "grammar.y" in YYPARSE_DECL()
1435 && yystack.l_mark[-3].declarator->head->func_def == func_style) { in YYPARSE_DECL()
1436 yystack.l_mark[-3].declarator->head->func_def = FUNC_BOTH; in YYPARSE_DECL()
1441 if (cur_file->convert) in YYPARSE_DECL()
1442 gen_func_definition(&yystack.l_mark[-4].decl_spec, yystack.l_mark[-3].declarator); in YYPARSE_DECL()
1443 gen_prototype(&yystack.l_mark[-4].decl_spec, yystack.l_mark[-3].declarator); in YYPARSE_DECL()
1447 free_decl_spec(&yystack.l_mark[-4].decl_spec); in YYPARSE_DECL()
1448 free_declarator(yystack.l_mark[-3].declarator); in YYPARSE_DECL()
1450 #line 1451 "grammar.tab.c" in YYPARSE_DECL()
1453 #line 520 "grammar.y" in YYPARSE_DECL()
1455 if (yystack.l_mark[0].declarator->func_def == FUNC_NONE) { in YYPARSE_DECL()
1459 func_params = &(yystack.l_mark[0].declarator->head->params); in YYPARSE_DECL()
1460 func_params->begin_comment = cur_file->begin_comment; in YYPARSE_DECL()
1461 func_params->end_comment = cur_file->end_comment; in YYPARSE_DECL()
1463 #line 1464 "grammar.tab.c" in YYPARSE_DECL()
1466 #line 530 "grammar.y" in YYPARSE_DECL()
1472 new_decl_spec(&decl_spec, dft_decl_spec(), yystack.l_mark[-4].declarator->begin, DS_NONE); in YYPARSE_DECL()
1473 if (cur_file->convert) in YYPARSE_DECL()
1474 gen_func_definition(&decl_spec, yystack.l_mark[-4].declarator); in YYPARSE_DECL()
1475 gen_prototype(&decl_spec, yystack.l_mark[-4].declarator); in YYPARSE_DECL()
1480 free_declarator(yystack.l_mark[-4].declarator); in YYPARSE_DECL()
1482 #line 1483 "grammar.tab.c" in YYPARSE_DECL()
1485 #line 561 "grammar.y" in YYPARSE_DECL()
1487 join_decl_specs(&yyval.decl_spec, &yystack.l_mark[-1].decl_spec, &yystack.l_mark[0].decl_spec); in YYPARSE_DECL()
1488 free(yystack.l_mark[-1].decl_spec.text); in YYPARSE_DECL()
1491 #line 1492 "grammar.tab.c" in YYPARSE_DECL()
1494 #line 576 "grammar.y" in YYPARSE_DECL()
1498 #line 1499 "grammar.tab.c" in YYPARSE_DECL()
1501 #line 580 "grammar.y" in YYPARSE_DECL()
1505 #line 1506 "grammar.tab.c" in YYPARSE_DECL()
1508 #line 584 "grammar.y" in YYPARSE_DECL()
1512 #line 1513 "grammar.tab.c" in YYPARSE_DECL()
1515 #line 588 "grammar.y" in YYPARSE_DECL()
1519 #line 1520 "grammar.tab.c" in YYPARSE_DECL()
1522 #line 592 "grammar.y" in YYPARSE_DECL()
1526 #line 1527 "grammar.tab.c" in YYPARSE_DECL()
1529 #line 596 "grammar.y" in YYPARSE_DECL()
1533 #line 1534 "grammar.tab.c" in YYPARSE_DECL()
1536 #line 603 "grammar.y" in YYPARSE_DECL()
1540 #line 1541 "grammar.tab.c" in YYPARSE_DECL()
1543 #line 607 "grammar.y" in YYPARSE_DECL()
1547 #line 1548 "grammar.tab.c" in YYPARSE_DECL()
1550 #line 611 "grammar.y" in YYPARSE_DECL()
1554 #line 1555 "grammar.tab.c" in YYPARSE_DECL()
1557 #line 615 "grammar.y" in YYPARSE_DECL()
1561 #line 1562 "grammar.tab.c" in YYPARSE_DECL()
1564 #line 619 "grammar.y" in YYPARSE_DECL()
1568 #line 1569 "grammar.tab.c" in YYPARSE_DECL()
1571 #line 623 "grammar.y" in YYPARSE_DECL()
1575 #line 1576 "grammar.tab.c" in YYPARSE_DECL()
1578 #line 627 "grammar.y" in YYPARSE_DECL()
1582 #line 1583 "grammar.tab.c" in YYPARSE_DECL()
1585 #line 631 "grammar.y" in YYPARSE_DECL()
1589 #line 1590 "grammar.tab.c" in YYPARSE_DECL()
1592 #line 635 "grammar.y" in YYPARSE_DECL()
1596 #line 1597 "grammar.tab.c" in YYPARSE_DECL()
1599 #line 639 "grammar.y" in YYPARSE_DECL()
1603 #line 1604 "grammar.tab.c" in YYPARSE_DECL()
1606 #line 643 "grammar.y" in YYPARSE_DECL()
1610 #line 1611 "grammar.tab.c" in YYPARSE_DECL()
1613 #line 647 "grammar.y" in YYPARSE_DECL()
1617 #line 1618 "grammar.tab.c" in YYPARSE_DECL()
1620 #line 651 "grammar.y" in YYPARSE_DECL()
1625 …new_decl_spec(&yyval.decl_spec, yystack.l_mark[0].text.text, yystack.l_mark[0].text.begin, s->flag… in YYPARSE_DECL()
1627 #line 1628 "grammar.tab.c" in YYPARSE_DECL()
1630 #line 663 "grammar.y" in YYPARSE_DECL()
1634 #line 1635 "grammar.tab.c" in YYPARSE_DECL()
1637 #line 667 "grammar.y" in YYPARSE_DECL()
1645 …new_decl_spec(&yyval.decl_spec, yystack.l_mark[0].text.text, yystack.l_mark[0].text.begin, s->flag… in YYPARSE_DECL()
1647 #line 1648 "grammar.tab.c" in YYPARSE_DECL()
1650 #line 680 "grammar.y" in YYPARSE_DECL()
1654 …)sprintf(s = buf, "%.*s %.*s", TEXT_LEN, yystack.l_mark[-2].text.text, TEXT_LEN, yystack.l_mark[-1… in YYPARSE_DECL()
1655 new_decl_spec(&yyval.decl_spec, s, yystack.l_mark[-2].text.begin, DS_NONE); in YYPARSE_DECL()
1657 #line 1658 "grammar.tab.c" in YYPARSE_DECL()
1660 #line 687 "grammar.y" in YYPARSE_DECL()
1664 (void)sprintf(s = buf, "%.*s {}", TEXT_LEN, yystack.l_mark[-1].text.text); in YYPARSE_DECL()
1665 new_decl_spec(&yyval.decl_spec, s, yystack.l_mark[-1].text.begin, DS_NONE); in YYPARSE_DECL()
1667 #line 1668 "grammar.tab.c" in YYPARSE_DECL()
1670 #line 694 "grammar.y" in YYPARSE_DECL()
1672 …(void)sprintf(buf, "%.*s %.*s", TEXT_LEN, yystack.l_mark[-1].text.text, TEXT_LEN, yystack.l_mark[0… in YYPARSE_DECL()
1673 new_decl_spec(&yyval.decl_spec, buf, yystack.l_mark[-1].text.begin, DS_NONE); in YYPARSE_DECL()
1675 #line 1676 "grammar.tab.c" in YYPARSE_DECL()
1678 #line 702 "grammar.y" in YYPARSE_DECL()
1682 #line 1683 "grammar.tab.c" in YYPARSE_DECL()
1685 #line 706 "grammar.y" in YYPARSE_DECL()
1689 #line 1690 "grammar.tab.c" in YYPARSE_DECL()
1692 #line 713 "grammar.y" in YYPARSE_DECL()
1696 #line 1697 "grammar.tab.c" in YYPARSE_DECL()
1699 #line 717 "grammar.y" in YYPARSE_DECL()
1701 add_decl_list(&yyval.decl_list, &yystack.l_mark[-2].decl_list, yystack.l_mark[0].declarator); in YYPARSE_DECL()
1703 #line 1704 "grammar.tab.c" in YYPARSE_DECL()
1706 #line 724 "grammar.y" in YYPARSE_DECL()
1708 if (yystack.l_mark[0].declarator->func_def != FUNC_NONE && func_params == NULL && in YYPARSE_DECL()
1709 func_style == FUNC_TRADITIONAL && cur_file->convert) { in YYPARSE_DECL()
1711 fputs(cur_text(), cur_file->tmp_file); in YYPARSE_DECL()
1715 #line 1716 "grammar.tab.c" in YYPARSE_DECL()
1718 #line 733 "grammar.y" in YYPARSE_DECL()
1720 if (yystack.l_mark[-1].declarator->func_def != FUNC_NONE && func_params == NULL && in YYPARSE_DECL()
1721 func_style == FUNC_TRADITIONAL && cur_file->convert) { in YYPARSE_DECL()
1722 gen_func_declarator(yystack.l_mark[-1].declarator); in YYPARSE_DECL()
1723 fputs(" =", cur_file->tmp_file); in YYPARSE_DECL()
1726 #line 1727 "grammar.tab.c" in YYPARSE_DECL()
1729 #line 745 "grammar.y" in YYPARSE_DECL()
1733 (void)sprintf(s = buf, "enum %.*s", TEXT_LEN, yystack.l_mark[-1].text.text); in YYPARSE_DECL()
1734 new_decl_spec(&yyval.decl_spec, s, yystack.l_mark[-2].text.begin, DS_NONE); in YYPARSE_DECL()
1736 #line 1737 "grammar.tab.c" in YYPARSE_DECL()
1739 #line 752 "grammar.y" in YYPARSE_DECL()
1743 (void)sprintf(s = buf, "%.*s {}", TEXT_LEN, yystack.l_mark[-1].text.text); in YYPARSE_DECL()
1744 new_decl_spec(&yyval.decl_spec, s, yystack.l_mark[-1].text.begin, DS_NONE); in YYPARSE_DECL()
1746 #line 1747 "grammar.tab.c" in YYPARSE_DECL()
1749 #line 759 "grammar.y" in YYPARSE_DECL()
1752 new_decl_spec(&yyval.decl_spec, buf, yystack.l_mark[-1].text.begin, DS_NONE); in YYPARSE_DECL()
1754 #line 1755 "grammar.tab.c" in YYPARSE_DECL()
1757 #line 767 "grammar.y" in YYPARSE_DECL()
1762 #line 1763 "grammar.tab.c" in YYPARSE_DECL()
1765 #line 780 "grammar.y" in YYPARSE_DECL()
1768 …void)sprintf(buf, "%.*s%.*s", TEXT_LEN, yystack.l_mark[-1].text.text, TEXT_LEN, yyval.declarator->… in YYPARSE_DECL()
1769 free(yyval.declarator->text); in YYPARSE_DECL()
1770 yyval.declarator->text = xstrdup(buf); in YYPARSE_DECL()
1771 yyval.declarator->begin = yystack.l_mark[-1].text.begin; in YYPARSE_DECL()
1772 yyval.declarator->pointer = TRUE; in YYPARSE_DECL()
1774 #line 1775 "grammar.tab.c" in YYPARSE_DECL()
1777 #line 793 "grammar.y" in YYPARSE_DECL()
1781 #line 1782 "grammar.tab.c" in YYPARSE_DECL()
1784 #line 797 "grammar.y" in YYPARSE_DECL()
1786 yyval.declarator = yystack.l_mark[-1].declarator; in YYPARSE_DECL()
1787 (void)sprintf(buf, "(%.*s)", TEXT_LEN, yyval.declarator->text); in YYPARSE_DECL()
1788 free(yyval.declarator->text); in YYPARSE_DECL()
1789 yyval.declarator->text = xstrdup(buf); in YYPARSE_DECL()
1790 yyval.declarator->begin = yystack.l_mark[-2].text.begin; in YYPARSE_DECL()
1792 #line 1793 "grammar.tab.c" in YYPARSE_DECL()
1795 #line 805 "grammar.y" in YYPARSE_DECL()
1797 yyval.declarator = yystack.l_mark[-1].declarator; in YYPARSE_DECL()
1798 …(void)sprintf(buf, "%.*s%.*s", TEXT_LEN, yyval.declarator->text, TEXT_LEN, yystack.l_mark[0].text.… in YYPARSE_DECL()
1799 free(yyval.declarator->text); in YYPARSE_DECL()
1800 yyval.declarator->text = xstrdup(buf); in YYPARSE_DECL()
1802 #line 1803 "grammar.tab.c" in YYPARSE_DECL()
1805 #line 812 "grammar.y" in YYPARSE_DECL()
1807 …eclarator = new_declarator("%s()", yystack.l_mark[-3].declarator->name, yystack.l_mark[-3].declara… in YYPARSE_DECL()
1808 yyval.declarator->params = yystack.l_mark[-1].param_list; in YYPARSE_DECL()
1809 yyval.declarator->func_stack = yystack.l_mark[-3].declarator; in YYPARSE_DECL()
1810 …yyval.declarator->head = (yystack.l_mark[-3].declarator->func_stack == NULL) ? yyval.declarator : … in YYPARSE_DECL()
1811 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
1813 #line 1814 "grammar.tab.c" in YYPARSE_DECL()
1816 #line 820 "grammar.y" in YYPARSE_DECL()
1818 …eclarator = new_declarator("%s()", yystack.l_mark[-3].declarator->name, yystack.l_mark[-3].declara… in YYPARSE_DECL()
1819 yyval.declarator->params = yystack.l_mark[-1].param_list; in YYPARSE_DECL()
1820 yyval.declarator->func_stack = yystack.l_mark[-3].declarator; in YYPARSE_DECL()
1821 …yyval.declarator->head = (yystack.l_mark[-3].declarator->func_stack == NULL) ? yyval.declarator : … in YYPARSE_DECL()
1822 yyval.declarator->func_def = FUNC_TRADITIONAL; in YYPARSE_DECL()
1824 #line 1825 "grammar.tab.c" in YYPARSE_DECL()
1827 #line 831 "grammar.y" in YYPARSE_DECL()
1830 yyval.text.begin = yystack.l_mark[-1].text.begin; in YYPARSE_DECL()
1832 #line 1833 "grammar.tab.c" in YYPARSE_DECL()
1835 #line 836 "grammar.y" in YYPARSE_DECL()
1837 …(void)sprintf(yyval.text.text, "*%.*s%.*s", TEXT_LEN, yystack.l_mark[-1].text.text, TEXT_LEN, yyst… in YYPARSE_DECL()
1838 yyval.text.begin = yystack.l_mark[-2].text.begin; in YYPARSE_DECL()
1840 #line 1841 "grammar.tab.c" in YYPARSE_DECL()
1843 #line 844 "grammar.y" in YYPARSE_DECL()
1848 #line 1849 "grammar.tab.c" in YYPARSE_DECL()
1851 #line 853 "grammar.y" in YYPARSE_DECL()
1857 #line 1858 "grammar.tab.c" in YYPARSE_DECL()
1860 #line 859 "grammar.y" in YYPARSE_DECL()
1862 …(void)sprintf(yyval.text.text, "%.*s%.*s ", TEXT_LEN, yystack.l_mark[-1].text.text, TEXT_LEN, yyst… in YYPARSE_DECL()
1863 yyval.text.begin = yystack.l_mark[-1].text.begin; in YYPARSE_DECL()
1866 #line 1867 "grammar.tab.c" in YYPARSE_DECL()
1869 #line 869 "grammar.y" in YYPARSE_DECL()
1871 add_ident_list(&yyval.param_list, &yystack.l_mark[-2].param_list, "..."); in YYPARSE_DECL()
1873 #line 1874 "grammar.tab.c" in YYPARSE_DECL()
1876 #line 876 "grammar.y" in YYPARSE_DECL()
1880 #line 1881 "grammar.tab.c" in YYPARSE_DECL()
1883 #line 880 "grammar.y" in YYPARSE_DECL()
1885 add_param_list(&yyval.param_list, &yystack.l_mark[-2].param_list, yystack.l_mark[0].parameter); in YYPARSE_DECL()
1887 #line 1888 "grammar.tab.c" in YYPARSE_DECL()
1890 #line 887 "grammar.y" in YYPARSE_DECL()
1892 check_untagged(&yystack.l_mark[-1].decl_spec); in YYPARSE_DECL()
1893 yyval.parameter = new_parameter(&yystack.l_mark[-1].decl_spec, yystack.l_mark[0].declarator); in YYPARSE_DECL()
1895 #line 1896 "grammar.tab.c" in YYPARSE_DECL()
1898 #line 892 "grammar.y" in YYPARSE_DECL()
1900 check_untagged(&yystack.l_mark[-1].decl_spec); in YYPARSE_DECL()
1901 yyval.parameter = new_parameter(&yystack.l_mark[-1].decl_spec, yystack.l_mark[0].declarator); in YYPARSE_DECL()
1903 #line 1904 "grammar.tab.c" in YYPARSE_DECL()
1906 #line 897 "grammar.y" in YYPARSE_DECL()
1911 #line 1912 "grammar.tab.c" in YYPARSE_DECL()
1914 #line 905 "grammar.y" in YYPARSE_DECL()
1918 #line 1919 "grammar.tab.c" in YYPARSE_DECL()
1921 #line 913 "grammar.y" in YYPARSE_DECL()
1926 #line 1927 "grammar.tab.c" in YYPARSE_DECL()
1929 #line 918 "grammar.y" in YYPARSE_DECL()
1931 add_ident_list(&yyval.param_list, &yystack.l_mark[-2].param_list, yystack.l_mark[0].text.text); in YYPARSE_DECL()
1933 #line 1934 "grammar.tab.c" in YYPARSE_DECL()
1936 #line 925 "grammar.y" in YYPARSE_DECL()
1940 #line 1941 "grammar.tab.c" in YYPARSE_DECL()
1943 #line 929 "grammar.y" in YYPARSE_DECL()
1951 yyval.text.begin = yystack.l_mark[-1].text.begin; in YYPARSE_DECL()
1953 #line 1954 "grammar.tab.c" in YYPARSE_DECL()
1956 #line 942 "grammar.y" in YYPARSE_DECL()
1960 #line 1961 "grammar.tab.c" in YYPARSE_DECL()
1963 #line 946 "grammar.y" in YYPARSE_DECL()
1966 …void)sprintf(buf, "%.*s%.*s", TEXT_LEN, yystack.l_mark[-1].text.text, TEXT_LEN, yyval.declarator->… in YYPARSE_DECL()
1967 free(yyval.declarator->text); in YYPARSE_DECL()
1968 yyval.declarator->text = xstrdup(buf); in YYPARSE_DECL()
1969 yyval.declarator->begin = yystack.l_mark[-1].text.begin; in YYPARSE_DECL()
1971 #line 1972 "grammar.tab.c" in YYPARSE_DECL()
1974 #line 958 "grammar.y" in YYPARSE_DECL()
1976 yyval.declarator = yystack.l_mark[-1].declarator; in YYPARSE_DECL()
1977 (void)sprintf(buf, "(%.*s)", TEXT_LEN, yyval.declarator->text); in YYPARSE_DECL()
1978 free(yyval.declarator->text); in YYPARSE_DECL()
1979 yyval.declarator->text = xstrdup(buf); in YYPARSE_DECL()
1980 yyval.declarator->begin = yystack.l_mark[-2].text.begin; in YYPARSE_DECL()
1982 #line 1983 "grammar.tab.c" in YYPARSE_DECL()
1985 #line 966 "grammar.y" in YYPARSE_DECL()
1987 yyval.declarator = yystack.l_mark[-1].declarator; in YYPARSE_DECL()
1988 …(void)sprintf(buf, "%.*s%.*s", TEXT_LEN, yyval.declarator->text, TEXT_LEN, yystack.l_mark[0].text.… in YYPARSE_DECL()
1989 free(yyval.declarator->text); in YYPARSE_DECL()
1990 yyval.declarator->text = xstrdup(buf); in YYPARSE_DECL()
1992 #line 1993 "grammar.tab.c" in YYPARSE_DECL()
1995 #line 973 "grammar.y" in YYPARSE_DECL()
1999 #line 2000 "grammar.tab.c" in YYPARSE_DECL()
2002 #line 977 "grammar.y" in YYPARSE_DECL()
2004 yyval.declarator = new_declarator("%s()", "", yystack.l_mark[-3].declarator->begin); in YYPARSE_DECL()
2005 yyval.declarator->params = yystack.l_mark[-1].param_list; in YYPARSE_DECL()
2006 yyval.declarator->func_stack = yystack.l_mark[-3].declarator; in YYPARSE_DECL()
2007 …yyval.declarator->head = (yystack.l_mark[-3].declarator->func_stack == NULL) ? yyval.declarator : … in YYPARSE_DECL()
2008 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
2010 #line 2011 "grammar.tab.c" in YYPARSE_DECL()
2013 #line 985 "grammar.y" in YYPARSE_DECL()
2015 yyval.declarator = new_declarator("%s()", "", yystack.l_mark[-2].declarator->begin); in YYPARSE_DECL()
2016 yyval.declarator->func_stack = yystack.l_mark[-2].declarator; in YYPARSE_DECL()
2017 …yyval.declarator->head = (yystack.l_mark[-2].declarator->func_stack == NULL) ? yyval.declarator : … in YYPARSE_DECL()
2018 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
2020 #line 2021 "grammar.tab.c" in YYPARSE_DECL()
2023 #line 992 "grammar.y" in YYPARSE_DECL()
2027 d = new_declarator("", "", yystack.l_mark[-2].text.begin); in YYPARSE_DECL()
2028 yyval.declarator = new_declarator("%s()", "", yystack.l_mark[-2].text.begin); in YYPARSE_DECL()
2029 yyval.declarator->params = yystack.l_mark[-1].param_list; in YYPARSE_DECL()
2030 yyval.declarator->func_stack = d; in YYPARSE_DECL()
2031 yyval.declarator->head = yyval.declarator; in YYPARSE_DECL()
2032 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
2034 #line 2035 "grammar.tab.c" in YYPARSE_DECL()
2037 #line 1003 "grammar.y" in YYPARSE_DECL()
2041 d = new_declarator("", "", yystack.l_mark[-1].text.begin); in YYPARSE_DECL()
2042 yyval.declarator = new_declarator("%s()", "", yystack.l_mark[-1].text.begin); in YYPARSE_DECL()
2043 yyval.declarator->func_stack = d; in YYPARSE_DECL()
2044 yyval.declarator->head = yyval.declarator; in YYPARSE_DECL()
2045 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
2047 #line 2048 "grammar.tab.c" in YYPARSE_DECL()
2049 #line 2050 "grammar.tab.c" in YYPARSE_DECL()
2051 yystack.s_mark -= yym; in YYPARSE_DECL()
2053 yystack.l_mark -= yym; in YYPARSE_DECL()