Lines Matching defs:cfile
104 static FILE *cfile;
121 if ((cfile = fopen("syntax.c", "w")) == NULL) {
130 fputs(writer, cfile);
166 fputs("#include \"parser.h\"\n", cfile);
167 fputs("#include \"shell.h\"\n", cfile);
168 fputs("#include \"syntax.h\"\n\n", cfile);
170 fputs("/* syntax table used when not in quotes */\n", cfile);
183 fputs("\n/* syntax table used when in double quotes */\n", cfile);
196 fputs("\n/* syntax table used when in single quotes */\n", cfile);
206 fputs("\n/* syntax table used when in arithmetic */\n", cfile);
219 fputs("\n/* character classification table */\n", cfile);
240 fprintf(cfile, "const char %s[SYNBASE + CHAR_MAX + 1] = {\n", name);
247 fprintf(cfile, "\t[SYNBASE + %s] = %s,\n", key, type);
278 fputs("};\n", cfile);
298 fprintf(cfile, "\t[SYNBASE + '%c'] = %s,\n", c, type);
301 fprintf(cfile, "\t[SYNBASE + '\\%c'] = %s,\n", c, type);