On Thu, 05/11/2009 alle 16.28 +0000, Nick Treleaven wrote:
On Thu, 05 Nov 2009 16:40:46 +0100 Roberto Rosetti rob.rosetti@gmail.com wrote:
I'm trying to hack geany (0.18, for the moment) with a custom LexScheme.cxx scintilla lexer, build specifically for GNU Guile Scheme.
I don't know scheme, but make sure you've seen the Lisp scintilla lexer.
Yes, thanks, it was my starting point.
I'm in trouble at the moment for a curious seg-fault I get loading an *.scm file
Would a gdb backtrace help?
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?
I don't know Scintilla lexer code, but have you tried C++ std::cout?
You should probably ask on the scintilla mailing list.
Regards, Nick
Many thanks for the fast reply. Now I'll make some serious debugging. I need to refresh my C++ knowledge a little bit. :)
Regards, Rob
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel