Permalink
Browse files

Do not try to create tags for empty identifiers. This gets rid of a

warning I introduced with my previous commit (makeSimpleTag checks
length of identifier whil makeTagEntry does not).
  • Loading branch information...
1 parent badee7b commit 1a5bff77bc52792887c3646f85e0b960d59e9573 @dtikhonov dtikhonov committed Aug 2, 2007
Showing with 5 additions and 0 deletions.
  1. +5 −0 perl.c
View
5 perl.c
@@ -307,6 +307,11 @@ static void findPerlTags (void)
vStringTerminate (name);
TRACE("name: %s\n", name->buffer);
+ if (0 == vStringLength(name)) {
+ vStringClear(name);
+ continue;
+ }
+
if (K_SUBROUTINE == kind)
{
/*

0 comments on commit 1a5bff7

Please sign in to comment.