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; }