[antlr-interest] Re: mystery in printing order

idontwantanidwith2000init idontwantanidwith2000init at yahoo.com
Fri Apr 16 13:48:26 PDT 2004


It is a requirement that all output will be to "stdout" and not err.


--- In antlr-interest at yahoogroups.com, Ric Klaren <klaren at c...> 
wrote:
> On Fri, Apr 16, 2004 at 06:01:07PM -0000, 
idontwantanidwith2000init wrote:
> > You are correct.
> > How do I refer System.err to System.out temporarly ?
> 
> Can't you flush the streams in between the print statements ? In 
C++ you
> also have the ability to link a number of streams so they 
automatically get
> flushed if something is printed to another. But I don't know if 
java has
> that stuff. I'd be surprised if it didn't have some flush method 
though...
> 
> > > BTW,
> > > Could I read ANTLR code?
> 
> ANTLR generated code is usually very readable.
> 
> Cheers,
> 
> Ric
> -- 
> -----
+++++*****************************************************+++++++++--
-----
>     ---- Ric Klaren ----- j.klaren at u... ----- +31 53 4893722  ----
> -----
+++++*****************************************************+++++++++--
-----
>      "Evil will always triumph, because Good is dumb." ---  
Spaceballs



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list