[Geany-devel] Trying to make a Guile Scheme lexer

Enrico Tröger enrico.troeger at xxxxx
Thu Nov 5 21:14:01 UTC 2009


On Thu, 05 Nov 2009 16:40:46 +0100, Roberto wrote:

Hey,

additionally to what Nick said:


>I'm wondering how to insert some debugging code in the lexer module,
>where as the good old fprintf(stderr, ..)
>dont work at all. Can't include the geany_debug() function in the lexer
>module, right?

No, geany_debug() can't be used (at least not easily).
But plain printf()'s do work, just remember to add a \n at the end
of the format string so the buffer get flushed or call fflush(stdout);
manually.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20091105/cebe35ea/attachment.pgp>


More information about the Devel mailing list