bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glr.c YYFPUTC and YYFPUTS macros


From: Paul Eggert
Subject: Re: glr.c YYFPUTC and YYFPUTS macros
Date: Sun, 02 Oct 2005 16:08:21 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden writes:

> the added YYFPUTC, YYFPUTS in glr.c
> makes redirection of the debug output
> to another stream more complicated.

In what way?  All you need to do is define YYFPRINTF, i.e.,
do the same thing you were already doing before the new macros were added.

> would prefer easy redirection of the
> debug stream above fastness of fputc
> compared to printf.

If we also wanted higher performance in the case of redirected debug
streams, we'd need to let the user be able to define YYFPUTC and
YYFPUTS.  Yes, that would complicate things along the lines that you
were probably thinking.  But is there a real need for this?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]