[geany/geany] 065070: Fix pascal tag initizalization

Jiří Techet git-noreply at xxxxx
Sat Sep 10 07:26:18 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sat, 06 Aug 2016 20:06:41 UTC
Commit:      0650707ce548273b1a0bb73680246645b2e3f49a
             https://github.com/geany/geany/commit/0650707ce548273b1a0bb73680246645b2e3f49a

Log Message:
-----------
Fix pascal tag initizalization


Modified Paths:
--------------
    ctags/parsers/pascal.c

Modified: ctags/parsers/pascal.c
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -48,6 +48,9 @@ static void createPascalTag (tagEntryInfo* const tag,
 		tag->extensionFields.signature = arglist;
 		tag->extensionFields.varType = vartype;
 	}
+	else
+		/* TODO: Passing NULL as name makes an assertion behind initTagEntry failure */
+		initTagEntry (tag, NULL, NULL);
 }
 
 static void makePascalTag (const tagEntryInfo* const tag)



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