From afb58cfd67de98059a20a1cdc7ca181e6ea95d4a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 12 Aug 2007 20:02:07 +0000 Subject: [PATCH] outputs to stdout now --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401319 --- sourcepawn/compiler/libpawnc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sourcepawn/compiler/libpawnc.c b/sourcepawn/compiler/libpawnc.c index be348356..ddaf7498 100644 --- a/sourcepawn/compiler/libpawnc.c +++ b/sourcepawn/compiler/libpawnc.c @@ -78,12 +78,12 @@ static char *prefix[3]={ "error", "fatal error", "warning" }; pre=prefix[idx]; if (firstline>=0) - fprintf(stderr,"%s(%d -- %d) : %s %03d: ",filename,firstline,lastline,pre,number); + fprintf(stdout,"%s(%d -- %d) : %s %03d: ",filename,firstline,lastline,pre,number); else - fprintf(stderr,"%s(%d) : %s %03d: ",filename,lastline,pre,number); + fprintf(stdout,"%s(%d) : %s %03d: ",filename,lastline,pre,number); } /* if */ - vfprintf(stderr,message,argptr); - fflush(stderr); + vfprintf(stdout,message,argptr); + fflush(stdout); return 0; }