Home
last modified time | relevance | path

Searched refs:func_def (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/byacc/test/
H A Dgrammar.y171 FuncDefStyle func_def; /* style of function definition */ member
351 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
486 if ($2->func_def == FUNC_NONE) {
503 && $2->head->func_def == func_style) {
504 $2->head->func_def = FUNC_BOTH;
521 if ($1->func_def == FUNC_NONE) {
725 if ($1->func_def != FUNC_NONE && func_params == NULL &&
734 if ($1->func_def != FUNC_NONE && func_params == NULL &&
817 $$->func_def = FUNC_ANSI;
825 $$->func_def = FUNC_TRADITIONAL;
[all …]
/freebsd/contrib/byacc/test/yacc/
H A Dgrammar.tab.c201 FuncDefStyle func_def; /* style of function definition */ member
381 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
1415 if (yystack.l_mark[0].declarator->func_def == FUNC_NONE) { 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()
1455 if (yystack.l_mark[0].declarator->func_def == FUNC_NONE) { in YYPARSE_DECL()
1708 if (yystack.l_mark[0].declarator->func_def != FUNC_NONE && func_params == NULL && in YYPARSE_DECL()
1720 if (yystack.l_mark[-1].declarator->func_def != FUNC_NONE && func_params == NULL && in YYPARSE_DECL()
1811 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
1822 yyval.declarator->func_def = FUNC_TRADITIONAL; in YYPARSE_DECL()
[all …]
/freebsd/contrib/byacc/test/btyacc/
H A Dgrammar.tab.c221 FuncDefStyle func_def; /* style of function definition */ member
401 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
2142 if (yystack.l_mark[0].declarator->func_def == FUNC_NONE) { in YYPARSE_DECL()
2162 && yystack.l_mark[-3].declarator->head->func_def == func_style) { in YYPARSE_DECL()
2163 yystack.l_mark[-3].declarator->head->func_def = FUNC_BOTH; in YYPARSE_DECL()
2182 if (yystack.l_mark[0].declarator->func_def == FUNC_NONE) { in YYPARSE_DECL()
2435 if (yystack.l_mark[0].declarator->func_def != FUNC_NONE && func_params == NULL && in YYPARSE_DECL()
2447 if (yystack.l_mark[-1].declarator->func_def != FUNC_NONE && func_params == NULL && in YYPARSE_DECL()
2538 yyval.declarator->func_def = FUNC_ANSI; in YYPARSE_DECL()
2549 yyval.declarator->func_def = FUNC_TRADITIONAL; in YYPARSE_DECL()
[all …]