[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using %printer
From: |
Frans Englich |
Subject: |
Re: Using %printer |
Date: |
Fri, 15 Sep 2006 08:45:17 +0000 |
User-agent: |
KMail/1.9.4 |
On Thursday 14 September 2006 12:34, Akim Demaille wrote:
> >>> "Frans" == Frans Englich <address@hidden> writes:
> >
> > I'm sure that's practical, but it surely would be cool to be able
> > to craft better messages!
>
> I agree, but there is a real problem: the interface here is outputting
> on a stream, while yyerror expects a string. Besides, levels of
> verbosity would probably be needed.
I guess one would have to invent a different "print system" for that. Perhaps
those "error printers" would return a heap allocated char string, which the
caller(the bison generated parser) is responsible for de-allocating.
Cheers,
Frans
- Using %printer, Frans Englich, 2006/09/11
- Re: Using %printer, Akim Demaille, 2006/09/14
- Re: Using %printer, Frans Englich, 2006/09/14
- Re: Using %printer, Akim Demaille, 2006/09/14
- Re: Using %printer,
Frans Englich <=
- Re: Using %printer, Akim Demaille, 2006/09/15
- Re: Using %printer, Frans Englich, 2006/09/15
- Re: Using %printer, Akim Demaille, 2006/09/15
- Re: Using %printer, Tim Van Holder, 2006/09/15
- Re: Using %printer, Akim Demaille, 2006/09/15