SF.net SVN: geany:[4422] trunk/HACKING
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Nov 12 12:12:08 UTC 2009
Revision: 4422
http://geany.svn.sourceforge.net/geany/?rev=4422&view=rev
Author: ntrel
Date: 2009-11-12 12:12:08 +0000 (Thu, 12 Nov 2009)
Log Message:
-----------
Add some info about making the parser tag kinds and symbol list compatible.
Modified Paths:
--------------
trunk/HACKING
Modified: trunk/HACKING
===================================================================
--- trunk/HACKING 2009-11-10 19:06:50 UTC (rev 4421)
+++ trunk/HACKING 2009-11-12 12:12:08 UTC (rev 4422)
@@ -373,13 +373,15 @@
In foo.c:
Edit FooKinds 3rd column to match a s_tag_type_names string in tm_tag.c.
+(You may want to make the symbols.c change before doing this).
In filetypes.c, init_builtin_filetypes():
Set filetypes[GEANY_FILETYPES_FOO].lang = foo's parser number.
In symbols.c:
-If your parser doesn't use C-like tag type names, update
-add_top_level_items() for foo, calling tag_list_add_groups().
+Unless your parser uses C-like tag type kinds, update
+add_top_level_items() for foo, calling tag_list_add_groups(). See
+get_tag_type_iter() for which tv_iters fields to use.
GDB
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list