[geany/geany] 93977f: HACKING: Update instructions to add a tags parser

Colomban Wendling git-noreply at xxxxx
Thu Jun 23 22:17:04 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 23 Jun 2016 22:17:04 UTC
Commit:      93977f4ad10cb767ff40c9575ce9dc6e696d6542
             https://github.com/geany/geany/commit/93977f4ad10cb767ff40c9575ce9dc6e696d6542

Log Message:
-----------
HACKING: Update instructions to add a tags parser


Modified Paths:
--------------
    HACKING

Modified: HACKING
6 lines changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -653,8 +653,10 @@ Method
 * Add TM_PARSER_FOO to tagmanager/src/tm_parser.h.  The list here must follow
   exactly the order in parsers.h.
 
-In foo.c:
-Edit FooKinds 3rd column to match a s_tag_type_names string in tm_tag.c.
+In tagmanager/src/tm_parsers.c:
+Add a map_FOO TMParserMapEntry mapping each kind's letter from foo.c's
+FooKinds to the appropriate TMTagType, and add the corresponding
+MAP_ENTRY(FOO) to parser_map.
 (You may want to make the symbols.c change before doing this).
 
 In filetypes.c, init_builtin_filetypes():



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list