Lines Matching defs:hfile
105 static FILE *hfile;
125 if ((hfile = fopen("syntax.h", "w")) == NULL) {
129 fputs(writer, hfile);
132 fputs("#include <sys/cdefs.h>\n", hfile);
133 fputs("#include <limits.h>\n\n", hfile);
136 fputs("/* Syntax classes */\n", hfile);
139 fputs(buf, hfile);
141 putc('\t', hfile);
142 fprintf(hfile, "/* %s */\n", synclass[i].comment);
144 putc('\n', hfile);
145 fputs("/* Syntax classes for is_ functions */\n", hfile);
148 fputs(buf, hfile);
150 putc('\t', hfile);
151 fprintf(hfile, "/* %s */\n", is_entry[i].comment);
153 putc('\n', hfile);
154 fputs("#define SYNBASE (1 - CHAR_MIN)\n", hfile);
155 fputs("#define PEOF -SYNBASE\n\n", hfile);
156 putc('\n', hfile);
157 fputs("#define BASESYNTAX (basesyntax + SYNBASE)\n", hfile);
158 fputs("#define DQSYNTAX (dqsyntax + SYNBASE)\n", hfile);
159 fputs("#define SQSYNTAX (sqsyntax + SYNBASE)\n", hfile);
160 fputs("#define ARISYNTAX (arisyntax + SYNBASE)\n", hfile);
161 putc('\n', hfile);
163 putc('\n', hfile);
239 fprintf(hfile, "extern const char %s[];\n", name);
328 fprintf(hfile, "%s\n", *pp);