On Thursday 14 September 2006 12:34, Akim Demaille wrote: > >>> "Frans" == Frans Englich <[EMAIL PROTECTED]> 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 _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison