Lines Matching refs:cfile
107 static FILE *cfile;
124 if ((cfile = fopen("syntax.c", "w")) == NULL) {
133 fputs(writer, cfile);
169 fputs("#include \"parser.h\"\n", cfile);
170 fputs("#include \"shell.h\"\n", cfile);
171 fputs("#include \"syntax.h\"\n\n", cfile);
173 fputs("/* syntax table used when not in quotes */\n", cfile);
186 fputs("\n/* syntax table used when in double quotes */\n", cfile);
199 fputs("\n/* syntax table used when in single quotes */\n", cfile);
209 fputs("\n/* syntax table used when in arithmetic */\n", cfile);
222 fputs("\n/* character classification table */\n", cfile);
243 fprintf(cfile, "const char %s[SYNBASE + CHAR_MAX + 1] = {\n", name);
250 fprintf(cfile, "\t[SYNBASE + %s] = %s,\n", key, type);
281 fputs("};\n", cfile);
301 fprintf(cfile, "\t[SYNBASE + '%c'] = %s,\n", c, type);
304 fprintf(cfile, "\t[SYNBASE + '\\%c'] = %s,\n", c, type);