From 470d99ee944244e66b591c3814e1607486ecae4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= Date: Sat, 11 Jun 2016 14:08:02 +0200 Subject: [PATCH] Update various comments mentioning tagmanager/src --- HACKING | 2 +- ctags/main/parsers.h | 2 +- scripts/create_php_tags.py | 4 ++-- src/filetypes.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HACKING b/HACKING index 1557c3c0..2d8c98b7 100644 --- a/HACKING +++ b/HACKING @@ -650,7 +650,7 @@ Method * Add foo.c to SRCS in Makefile.am. * Add foo.o to OBJS in makefile.win32. * Add Foo to parsers.h -* Add TM_PARSER_FOO to tagmanager/src/tm_parser.h. The list here must follow +* Add TM_PARSER_FOO to src/tagmanager/tm_parser.h. The list here must follow exactly the order in parsers.h. In tagmanager/src/tm_parsers.c: diff --git a/ctags/main/parsers.h b/ctags/main/parsers.h index d75f5aa2..2991a500 100644 --- a/ctags/main/parsers.h +++ b/ctags/main/parsers.h @@ -14,7 +14,7 @@ #define _PARSERS_H /* Add the name of any new parser definition function here */ -/* keep tagmanager/src/tm_parser.h in sync */ +/* keep src/tagmanager/tm_parser.h in sync */ #define PARSER_LIST \ CParser, \ CppParser, \ diff --git a/scripts/create_php_tags.py b/scripts/create_php_tags.py index a690873d..6d8d86be 100644 --- a/scripts/create_php_tags.py +++ b/scripts/create_php_tags.py @@ -18,13 +18,13 @@ import re UPSTREAM_TAG_DEFINITION = 'http://doc.php.net/downloads/json/php_manual_en.json' PROTOTYPE_RE = r'^(?P.*) {tag_name}(?P\(.*\))$' -# (from tagmanager/src/tm_tag.c:90) +# (from src/tagmanager/tm_tag.c:90) TA_NAME = 200 TA_TYPE = 204 TA_ARGLIST = 205 TA_SCOPE = 206 TA_VARTYPE = 207 -# TMTagType (tagmanager/src/tm_tag.h:49) +# TMTagType (src/tagmanager/tm_tag.h:49) TYPE_CLASS = 1 TYPE_FUNCTION = 16 TYPE_MEMBER = 64 diff --git a/src/filetypes.h b/src/filetypes.h index 63ab0da6..aafac816 100644 --- a/src/filetypes.h +++ b/src/filetypes.h @@ -142,7 +142,7 @@ typedef struct GeanyFiletype { GeanyFiletypeID id; /**< Index in @ref filetypes. */ /* Represents the TMParserType of tagmanager (see the table - * in tagmanager/src/tm_parser.h). */ + * in src/tagmanager/tm_parser.h). */ TMParserType lang; /** Untranslated short name, such as "C", "None". * Must not be translated as it's used for hash table lookups - use