[geany/geany] 28fa77: Move EXTERNAL_PARSER_LIST to the beginning of BuiltInParsers

Jiří Techet git-noreply at xxxxx
Sun Feb 7 21:31:38 UTC 2021


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Wed, 18 Nov 2020 23:13:15 UTC
Commit:      28fa776956d4547955b439466159496a22a2e21a
             https://github.com/geany/geany/commit/28fa776956d4547955b439466159496a22a2e21a

Log Message:
-----------
Move EXTERNAL_PARSER_LIST to the beginning of BuiltInParsers

Without this we get incorrect parser numbers. This regression has been
introduced in universal ctags and will be reported as a bug.


Modified Paths:
--------------
    ctags/main/parse.c

Modified: ctags/main/parse.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -126,12 +126,12 @@ static parserDefinition *FallbackParser (void);
 static parserDefinition *CTagsParser (void);
 static parserDefinition *CTagsSelfTestParser (void);
 static parserDefinitionFunc* BuiltInParsers[] = {
-	CTagsParser,				/* This must be first entry. */
-	FallbackParser,				/* LANG_FALLBACK */
-	CTagsSelfTestParser,
 #ifdef EXTERNAL_PARSER_LIST
 	EXTERNAL_PARSER_LIST
 #else  /* ! EXTERNAL_PARSER_LIST */
+	CTagsParser,				/* This must be first entry. */
+	FallbackParser,				/* LANG_FALLBACK */
+	CTagsSelfTestParser,
 
 	PARSER_LIST,
 	XML_PARSER_LIST



--------------
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