From 0650707ce548273b1a0bb73680246645b2e3f49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= Date: Sat, 6 Aug 2016 22:06:41 +0200 Subject: [PATCH] Fix pascal tag initizalization --- ctags/parsers/pascal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctags/parsers/pascal.c b/ctags/parsers/pascal.c index 1f62f77e..e66d18d7 100644 --- a/ctags/parsers/pascal.c +++ b/ctags/parsers/pascal.c @@ -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)