Hello list,
I am attempting to add filetype and highlighting support for COBOL but I am running into an error:
../scintilla/libscintilla.a(KeyWords.o): In function `Scintilla_LinkLexers()': ../scintilla/KeyWords.cxx:177: undefined reference to `lmCOBOL' collect2: ld returned 1 exit status
Copying most of the SQL lexer, because it is the closest in type to COBOL, I did a grep for "lmSQL" and got: scintilla/LexSQL.cxx:LexerModule lmSQL(SCLEX_SQL, ColouriseSQLDoc, "sql", FoldSQLDoc, sqlWordListDesc); scintilla/KeyWords.cxx: LINK_LEXER(lmSQL);
Also, my grep of lmCOBOL: scintilla/LexCOBOL.cxx:LexerModule lmCOBOL(SCLEX_COBOL, ColouriseCOBOLDoc, "cobol", FoldCOBOLDoc, cobolWordListDesc); scintilla/KeyWords.cxx: LINK_LEXER(lmCOBOL);
Provided in the attachment is the svn diff. Can someone maybe point me in the right direction with this code, please? I would like to see this in before 0.19 is released.
Thank you for your time, Seth Keiper