Quote from HACKING:

scintilla/src/Catalogue.cxx - add a LINK_LEXER command manually

Seems like this file has been removed/renamed/whatever?

I've tried to build and run my experimental changes without this step, but it keeps crashing after selecting the CIL highlighter at the strcmp() line:

#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:102
#1  0x00007ffff7cb388a in CreateLexer(char const*) (name=0x0) at lexilla/src/Lexilla.cxx:403
#2  0x00007ffff7c89bc3 in sci_set_lexer (sci=sci@entry=0x555556191110, lexer_id=lexer_id@entry=127) at sciwrappers.c:704
EXPORT_FUNCTION Scintilla::ILexer5 * CALLING_CONVENTION CreateLexer(const char *name) {
	AddEachLexer();
	for (unsigned int i = 0; i < catalogueLexilla.Count(); i++) {
		const char *lexerName = catalogueLexilla.Name(i);
		if (0 == strcmp(lexerName, name)) {
			return catalogueLexilla.Create(i);
		}
	}
	return nullptr;
}

My filetypes.cil is still unfinished, but I don't think this is the reason for the crash? catalogueLexilla and the fact, that I've skipped the "catalogue" code change sounds related. ^^

I'm a little bit lost now...


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3305/1531348286@github.com>