Lines Matching defs:ftable

132 FILE *ftable;		/* y.tab.c file */
315 ftable = fopen(fname, "w");
316 if (ftable == NULL)
358 (void) fprintf(ftable, "#ident\t\"yacc: %s %s\"\n",
590 (void) fprintf(ftable, "\n#include <inttypes.h>\n");
591 (void) fprintf(ftable, "\n#ifdef __STDC__\n");
592 (void) fprintf(ftable, "#include <stdlib.h>\n");
593 (void) fprintf(ftable, "#include <string.h>\n");
594 (void) fprintf(ftable, "#define YYCONST const\n");
595 (void) fprintf(ftable, "#else\n");
596 (void) fprintf(ftable, "#include <malloc.h>\n");
597 (void) fprintf(ftable, "#include <memory.h>\n");
598 (void) fprintf(ftable, "#define YYCONST\n");
599 (void) fprintf(ftable, "#endif\n");
600 (void) fprintf(ftable, "\n#include <values.h>\n");
605 (void) fprintf(ftable,
607 (void) fprintf(ftable,
609 (void) fprintf(ftable, "extern \"C\" {\n");
610 (void) fprintf(ftable, "#endif\n");
611 (void) fprintf(ftable, "#ifndef yyerror\n");
612 (void) fprintf(ftable, "#if defined(__cplusplus)\n");
613 (void) fprintf(ftable, " void yyerror(YYCONST char *);\n");
614 (void) fprintf(ftable, "#endif\n");
615 (void) fprintf(ftable, "#endif\n");
616 (void) fprintf(ftable, "#ifndef yylex\n");
617 (void) fprintf(ftable, " int yylex(void);\n");
618 (void) fprintf(ftable, "#endif\n");
619 (void) fprintf(ftable, " int yyparse(void);\n");
620 (void) fprintf(ftable,
622 (void) fprintf(ftable, "}\n");
623 (void) fprintf(ftable, "#endif\n");
624 (void) fprintf(ftable, "\n#endif\n\n");
626 (void) fprintf(ftable, "#define yyclearin yychar = -1\n");
627 (void) fprintf(ftable, "#define yyerrok yyerrflag = 0\n");
628 (void) fprintf(ftable, "extern int yychar;\nextern int yyerrflag;\n");
630 (void) fprintf(ftable,
632 (void) fprintf(ftable, "YYSTYPE yylval;\n");
633 (void) fprintf(ftable, "YYSTYPE yyval;\n");
634 (void) fprintf(ftable, "typedef int yytabelem;\n");
635 (void) fprintf(ftable,
637 (void) fprintf(ftable, "#if YYMAXDEPTH > 0\n");
638 (void) fprintf(ftable, "int yy_yys[YYMAXDEPTH], *yys = yy_yys;\n");
639 (void) fprintf(ftable, "YYSTYPE yy_yyv[YYMAXDEPTH], *yyv = yy_yyv;\n");
640 (void) fprintf(ftable, "#else /* user does initial allocation */\n");
641 (void) fprintf(ftable, "int *yys;\nYYSTYPE *yyv;\n#endif\n");
642 (void) fprintf(ftable, "static int yymaxdepth = YYMAXDEPTH;\n");
835 (void) fprintf(ftable, "\n# line %d \"%s\"\n",
838 (void) putwc(c, ftable);
848 (void) fprintf(ftable, "# define YYERRCODE %d\n", tokset[2].value);
1083 (void) fprintf(ftable,
1321 (void) fprintf(ftable, "\n# line %d \"%s\"\n", lineno, infile);
1322 (void) fprintf(ftable, "typedef union\n");
1325 (void) fprintf(ftable, "#ifdef __cplusplus\n\tYYSTYPE\n#endif\n");
1341 (void) putwc(c, ftable);
1358 (void) fprintf(ftable, " YYSTYPE;\n");
1380 (void) fprintf(ftable, "\n# line %d \"%s\"\n", lineno, infile);
1386 (void) putwc(L'\\', ftable);
1391 (void) putwc(L'%', ftable);
1393 (void) putwc(c, ftable);
2094 (void) fprintf(ftable, "#define\tyy%s\t%s%s\n",