Lines Matching defs:hfile
216 FILE *hfile;
226 if ((hfile = fopen("nodes.h", "w")) == NULL)
230 fputs(writer, hfile);
232 fprintf(hfile, "#define %s %d\n", nodename[i], i);
233 fputs("\n\n\n", hfile);
235 fprintf(hfile, "struct %s {\n", sp->tag);
237 fprintf(hfile, " %s;\n", fp->decl);
239 fputs("};\n\n\n", hfile);
241 fputs("union node {\n", hfile);
242 fprintf(hfile, " int type;\n");
244 fprintf(hfile, " struct %s %s;\n", sp->tag, sp->tag);
246 fputs("};\n\n\n", hfile);
247 fputs("struct nodelist {\n", hfile);
248 fputs("\tstruct nodelist *next;\n", hfile);
249 fputs("\tunion node *n;\n", hfile);
250 fputs("};\n\n\n", hfile);
251 fputs("struct funcdef;\n", hfile);
252 fputs("struct funcdef *copyfunc(union node *);\n", hfile);
253 fputs("union node *getfuncnode(struct funcdef *);\n", hfile);
254 fputs("void reffunc(struct funcdef *);\n", hfile);
255 fputs("void unreffunc(struct funcdef *);\n", hfile);