[Mono-devel-list] patch for silent jay

Atsushi Eno ginga at kit.hi-ho.ne.jp
Mon Dec 15 02:33:43 EST 2003


Hello,

I just found that parsers generated by jay outputs error messages to 
Console.Out. It might be problematic in some (almost all?) places.

Here is a simple patch to fix it. If you want to turn it off, simply add 
one line to your skelton (constructor), like:

   ErrorOutput = System.IO.TextWriter.Null;

(However, I suggest to initialize this output as this null writer _by 
default_)

If there is no problem, I'll commit it later (this patch, as is).

Regards,
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jay-error-control.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031215/d1896ed3/attachment.pl 


More information about the Mono-devel-list mailing list