Home
last modified time | relevance | path

Searched refs:union_file (Results 1 – 4 of 4) sorted by relevance

/freebsd-9-stable/usr.bin/yacc/
Dmain.c79 FILE *union_file; /* a temp file, used to save the union */ variable
118 if (union_file) { fclose(union_file); unlink(union_file_name); } in done()
381 if (fd < 0 || (union_file = fdopen(fd, "w")) == NULL) { in open_files()
403 union_file = fopen(union_file_name, "w"); in open_files()
404 if (union_file == 0) in open_files()
Dreader.c536 if (dflag) fprintf(union_file, "typedef union"); in copy_union()
542 if (dflag) putc(c, union_file); in copy_union()
576 if (dflag) putc(c, union_file); in copy_union()
588 if (dflag) putc(c, union_file); in copy_union()
604 if (dflag) putc('*', union_file); in copy_union()
610 if (dflag) fprintf(union_file, "* "); in copy_union()
615 if (dflag) putc(c, union_file); in copy_union()
619 if (dflag) fprintf(union_file, "*/\n"); in copy_union()
629 if (dflag) putc('*', union_file); in copy_union()
635 if (dflag) putc(c, union_file); in copy_union()
[all …]
Doutput.c909 fclose(union_file); in output_defines()
910 union_file = fopen(union_file_name, "r"); in output_defines()
911 if (union_file == NULL) open_error(union_file_name); in output_defines()
912 while ((c = getc(union_file)) != EOF) in output_defines()
Ddefs.h241 extern FILE *union_file;