[Geany-devel] COBOL syntax highlighting and filetype support
Seth Keiper
erstazi at xxxxx
Thu Sep 10 16:06:54 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geany.diff
Type: text/x-patch
Size: 25639 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090910/19641174/attachment.bin>
More information about the Devel
mailing list