Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Wed, 18 Nov 2020 23:13:15 UTC Commit: ccd5330a21318a0f39bcaf330dac1188e25ab6aa https://github.com/geany/geany/commit/ccd5330a21318a0f39bcaf330dac1188e25ab6...
Log Message: ----------- Update cobol and flex parsers to use latest ctags main definitions
Modified Paths: -------------- ctags/parsers/cobol.c ctags/parsers/flex.c
Modified: ctags/parsers/cobol.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -248,7 +248,7 @@ static void initCOBOLRefTagEntry (tagEntryInfo *e, const char *name,
static void initCOBOLTagEntry (tagEntryInfo *e, const char *name, const cobolKind kind) { - initCOBOLRefTagEntry (e, name, kind, ROLE_INDEX_DEFINITION); + initCOBOLRefTagEntry (e, name, kind, ROLE_DEFINITION_INDEX); }
static int makeCOBOLRefTag (const char *name, const cobolKind kind, const int role) @@ -267,7 +267,7 @@ static int makeCOBOLRefTag (const char *name, const cobolKind kind, const int ro
static int makeCOBOLTag (const char *name, const cobolKind kind) { - return makeCOBOLRefTag (name, kind, ROLE_INDEX_DEFINITION); + return makeCOBOLRefTag (name, kind, ROLE_DEFINITION_INDEX); }
#define CBL_NL(nl) (*((unsigned int *) (nestingLevelGetUserData (nl)))) @@ -498,7 +498,7 @@ static parserDefinition* commonCobolParserDefinition (const char *name, def->kindCount = ARRAY_SIZE(CobolKinds); def->keywordTable = cobolKeywordTable; def->keywordCount = ARRAY_SIZE(cobolKeywordTable); - def->useCork = true; + def->useCork = CORK_QUEUE; return def; }
Modified: ctags/parsers/flex.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -320,7 +320,7 @@ static void makeConstTag (tokenInfo *const token, const flexKind kind) { const char *const name = vStringValue (token->string); tagEntryInfo e; - int role = ROLE_INDEX_DEFINITION; + int role = ROLE_DEFINITION_INDEX;
/* Geany diff: reftags are not enabled but should be if (kind == FLEXTAG_IMPORT)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).