Skip to content

Commit

Permalink
Fix looking for an identifier when there's a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrel committed Oct 16, 2019
1 parent 95e4c3b commit aae0a21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctags/parsers/pascal.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ static void findPascalTags (void)
/* grab block name */
while (isspace ((int) *dbp))
++dbp;
if (!starttoken(*dbp))
continue;
for (cp = dbp ; *cp != '\0' && !endtoken (*cp) ; cp++)
continue;
vStringNCopyS (name, (const char*) dbp, cp - dbp);
Expand Down

0 comments on commit aae0a21

Please sign in to comment.