Lines Matching refs:fprintf

187 			(void) fprintf(stderr, "%s: missing close paren `%s'\n",
196 (void) fprintf(stderr, "%s: empty define `%s'\n",
217 (void) fprintf(stderr, "%s: invalid input `%s'\n", pname, defs);
245 (void) fprintf(stderr, "Usage: %s [<filename>]\n", pname);
251 (void) fprintf(stderr, "%s: Cannot open `%s'\n", pname, fname);
298 (void) fprintf(stderr, "%s: \"%s\", %d: Missing macro name\n",
303 (void) fprintf(stderr, "%s: \"%s\", %d: Missing macro body\n",
307 (void) fprintf(stdout, "\n#if %s\n# define %s\n#endif\n\n",
313 (void) fprintf(stderr, "%s: \"%s\", %d: Discarded\n",
316 (void) fprintf(stderr, "%s: Too many errors\n", pname);
321 (void) fprintf(stdout, "%s", line);
325 (void) fprintf(stderr, "%s: \"%s\", %d: Unexpected token\n",
334 (void) fprintf(stdout, "#endif\n");
342 (void) fprintf(stderr, "%s: \"%s\", %d: Missing enddef\n",
347 (void) fprintf(stderr, "%s: \"%s\", %d: No defs\n",
351 (void) fprintf(stdout, "\n\n");
353 (void) fprintf(stdout, "# %d \"%s\"\n", lineno + 1, fname);
355 (void) fprintf(stdout, "#if (%s)\n", explode(defs));
360 (void) fprintf(stdout, "# if (%s) && !defined(_%s_)\n",
363 (void) fprintf(stdout, "# if !defined(_%s_)\n",
367 (void) fprintf(stderr, "%s: \"%s\", %d: No statement\n",
371 (void) fprintf(stdout, "# define _%s_\n", keyword[token]);
372 (void) fprintf(stdout, " %s = %s;\n", keyword[token], stmt);
373 (void) fprintf(stdout, "# endif\n");
379 (void) fprintf(stdout, " /* %s */\n", defs);
385 (void) fprintf(stdout, "# %d \"%s\"\n", lineno + 1, fname);
391 (void) fprintf(stderr, "%s: \"%s\", %d: Unexpected state\n",
398 (void) fprintf(stderr, "%s: \"%s\", %d: Missing enddef\n",